Searched hist:322777 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/netbsd-tests/usr.bin/grep/
H A Dt_grep.shdiff 322777 Tue Aug 22 02:13:00 MDT 2017 kevans MFC r321450: bsdgrep(1): Don't exit before processing every file

Given an empty pattern (i.e. grep "" A B), bsdgrep(1) would previously
exit() with the appropriate exit code upon encountering an empty file.
Likely intended as an optimization, but this behavior is technically
incorrect since an empty pattern should match every line.

PR: 220924
Approved by: emaste (mentor, blanket MFC)
/freebsd-11-stable/usr.bin/grep/
H A Dutil.cdiff 322777 Tue Aug 22 02:13:00 MDT 2017 kevans MFC r321450: bsdgrep(1): Don't exit before processing every file

Given an empty pattern (i.e. grep "" A B), bsdgrep(1) would previously
exit() with the appropriate exit code upon encountering an empty file.
Likely intended as an optimization, but this behavior is technically
incorrect since an empty pattern should match every line.

PR: 220924
Approved by: emaste (mentor, blanket MFC)

Completed in 72 milliseconds