-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
--file with empty file differs in behavior from grep #900
Comments
I don't understand what your goal is here. ripgrep differs from grep in many ways. Are you asking for better docs? A change in behavior? |
Sorry, I should have been clearer. I was requesting that the same handling of an empty file passed to |
OK, I agree. I had a chance to review #783 as well, and I agree that ripgrep should probably be consistent with grep here. |
Thanks, much appreciated! |
Thanks! |
What version of ripgrep are you using?
0.8.1
What operating system are you using ripgrep on?
Linux/WSL
Describe your question, feature request, or bug.
From
man grep
:rg's behavior here is to treat an empty file as matching everything instead:
See also #783
The text was updated successfully, but these errors were encountered: