We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default search_ backend is effecively grep -P which is not available in all grep implementations. For instance many BSD's including OS X.
search_ backend
grep -P
The text was updated successfully, but these errors were encountered:
Any ideas how to detect this without having to run and parse grep --version?
grep --version
Sorry, something went wrong.
I'd say check the exit status. If the exit status is >1 then there was an error.
% uname -s Linux % echo 'testing P' | grep -P test > /dev/null 2>&1 % echo $? 0
% uname -s Darwin % echo 'testing P' | grep -P test > /dev/null 2>&1 % echo $? 2
Enable -P for grep backend only if using GNU grep
c1fcb76
Re: #87 and #84
b0a85eb
No branches or pull requests
The default
search_ backend
is effecivelygrep -P
which is not available in all grep implementations. For instance many BSD's including OS X.The text was updated successfully, but these errors were encountered: