freebsd-nq/usr.bin/grep
Eric van Gyzen 63c8336d4d zgrep: fix exit status with multiple files
zgrep should exit with success when given multiple files and the
pattern is found in at least one file.  Prior to this change,
it would exit with success only if the pattern was found in _every_ file.

Reviewed by:	dab ngie
MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D26616
2020-10-01 21:48:22 +00:00
..
tests
file.c Fix -Wpointer-sign warnings in usr.bin/grep 2020-09-21 09:03:37 +00:00
grep.1 grep(1): correct typos for 'if a name patches' to 'if a name matches' 2020-08-07 16:01:05 +00:00
grep.c
grep.h
Makefile Always install usr.bin/grep as grep when bootstrapping 2020-08-07 16:04:01 +00:00
Makefile.depend
Makefile.depend.options
queue.c
util.c
zgrep.1
zgrep.sh zgrep: fix exit status with multiple files 2020-10-01 21:48:22 +00:00