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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 22 20:07:19 UTC 2017


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

--- Comment #7 from Kyle Evans <kevans at freebsd.org> ---
The exact wording in POSIX 1003.1-2008's page on grep is:

> a null BRE shall match every line. 

There's similar wording for EREs further down, as well as -F. I would link
directly to it, but later versions aren't great for that, but: see:
http://pubs.opengroup.org/onlinepubs/9699919799/ -- this doc bug should
definitely be corrected if we aren't noting it in grep(1).

I'll regain access to a machine here in a couple hours to check why the empty
file is killing it. Thanks for confirming that!

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


More information about the freebsd-bugs mailing list