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

Specify GNU grep, find, etc. #3

Open
anirvan opened this issue May 1, 2023 · 2 comments
Open

Specify GNU grep, find, etc. #3

anirvan opened this issue May 1, 2023 · 2 comments

Comments

@anirvan
Copy link

anirvan commented May 1, 2023

I ran the script on MacOS, which uses BSD-derived versions of find, grep, and mktemp, and don't support the same command line options used in the code. I had to change three things to get it to run on a Mac.

Would it be possible to specifically state that this requires GNU tools — or alternatively, to change the code so uses only basic POSIX options?

FYI, here's are the three things I needed to manually change to get this to work on a Mac:

  • grep --perl-regexp
  • find -printf
  • mktemp --directory
@fluks
Copy link
Owner

fluks commented May 2, 2023

I can change the code so it uses only POSIX options. Can you send your changes as a PR?

fluks added a commit that referenced this issue May 4, 2023
@fluks
Copy link
Owner

fluks commented May 4, 2023

I made changes myself in f7b41e6. Can you test does that work on Mac?

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

2 participants