Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uppre-commit error #1060
Comments
This comment has been minimized.
This comment has been minimized.
jandockx
commented
May 8, 2018
|
The example script is for GNU. macOS grep (BSD) does not support the -z / --null-data option (nor xargs -r). I could not find a complete workaround.
works on Mac,
|
This comment has been minimized.
This comment has been minimized.
|
Thanks for helping out, @jandockx! One other workaround might be to install GNU grep using homebrew (a package manager for macOS). brew install grepThis installs GNU grep as a binary called |
feross
closed this
May 9, 2018
feross
added
the
question
label
May 9, 2018
lock
bot
locked as resolved and limited conversation to collaborators
Aug 7, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
zhangyuang commentedFeb 7, 2018
•
edited