Skip to content
New issue

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

grep -P fails on macOS #5

Open
hakanai opened this issue Mar 25, 2022 · 0 comments
Open

grep -P fails on macOS #5

hakanai opened this issue Mar 25, 2022 · 0 comments

Comments

@hakanai
Copy link

hakanai commented Mar 25, 2022

I tried this script out at work, and it seemed to be working for some time, during which I guess it was just gathering the files to perform the operation on. Then it finally failed with:

grep: invalid option -- P
usage: ...

I gather that -P means to treat the regex as Perl-compatible, and I can't see any suitable equivalent for that in the man page, so I might just be out of luck this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant