freebsd-dev/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 bsdgrep: switch to libregex for GNU_GREP_COMPAT 2020-08-04 02:47:24 +00:00
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 Fix some regressions with the zgrep(1) wrapper. 2020-07-20 23:57:53 +00:00
zgrep.sh zgrep: fix exit status with multiple files 2020-10-01 21:48:22 +00:00