Skip to content

terminate options ( -- ) produces error (pcre2grep) #215

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

Closed
atomGit opened this issue Mar 15, 2023 · 2 comments
Closed

terminate options ( -- ) produces error (pcre2grep) #215

atomGit opened this issue Mar 15, 2023 · 2 comments

Comments

@atomGit
Copy link

atomGit commented Mar 15, 2023

pcre2grep version 10.42 2022-12-11

$ printf 'this' > file
$ pcre2grep 'this' -- file
pcre2grep: Failed to open --: No such file or directory
file:this
@carenas
Copy link
Contributor

carenas commented Mar 16, 2023

Isn't this working as expected?; 'this' is not an option and -- would indicate the end of options if it where, ex:

$ pcre2grep -e this -- file

using the original syntax you indicate to search from the pattern 'this' inside the files -- and file

@atomGit
Copy link
Author

atomGit commented Mar 16, 2023

yes, it is working as expected - i was sure i was missing something stupid simple but i didn't know what

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