[Bug 220924] bsdgrep(1) unexpectedly stops processing command line arguments

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 22 18:37:54 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220924

--- Comment #3 from Kyle Evans <kevans at freebsd.org> ---
I'll poke at the specifics later, but empty strings with grep(1) triggers a
match-all behavior for what I assume are POSIX reasons. Empty patterns are not
valid EREs or BREs- just some grep specific behavior.

My assumption at the moment is that we're just bailing out on the first file
since it's a match-all. Not at a machine to test it at the moment, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list