freebsd-dev/usr.bin
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
..
addr2line
alias
apply
ar
asa
at at(1): Markup environment variables with proper macros 2020-07-19 14:42:13 +00:00
atm
awk awk(1): use -version instead of -V 2020-06-13 09:16:07 +00:00
banner Add HISTORY sections to banner(6), basename(1), limits(1) and vmstat(8) 2020-06-18 13:19:56 +00:00
basename Add HISTORY sections to banner(6), basename(1), limits(1) and vmstat(8) 2020-06-18 13:19:56 +00:00
bc
biff
bluetooth
bmake Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
brandelf
bsdcat MFV r361280: 2020-05-20 20:58:48 +00:00
bsdiff
bzip2
bzip2recover
c89
c99
caesar
calendar Bump manual page date after 366243 2020-09-29 10:07:46 +00:00
cap_mkdb
chat
chkey
chpass Fix i386 build of chpass after r363992 2020-08-08 10:05:27 +00:00
cksum
clang Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, 2020-08-06 19:30:00 +00:00
cmp cmp(1): Add EXAMPLES section 2020-06-20 11:20:16 +00:00
col
colrm colrm.1: Add a missing colon 2020-06-23 10:27:41 +00:00
column
comm comm(1): Add EXAMPLES section 2020-07-27 16:51:23 +00:00
compile_et
compress
cpio MFV r361280: 2020-05-20 20:58:48 +00:00
cpuset cpuset(1): Update the usage message. 2020-08-17 13:08:04 +00:00
csplit
ctags
ctlstat
cut
cxxfilt
dc
diff diff: always properly kill pr(1) 2020-09-01 14:52:39 +00:00
diff3 Replace homemade getline(3) by actual getline(3) 2019-12-17 11:03:32 +00:00
dirname
dpv Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
drill
dtc dtc: remove unknown option printf, since getopt will print it 2020-02-20 21:29:59 +00:00
du
ee
elfctl Reserve FreeBSD ELF feature control bit LA48 to control VA layout on amd64. 2020-08-23 19:47:27 +00:00
elfdump
enigma
env Fix invalid use of macros and two typos 2020-04-24 22:02:22 +00:00
etdump
expand
factor Fix the way 'factor' behaves when using OpenSSL to match the description 2020-01-12 20:25:11 +00:00
false
fetch Don't explicitly specify c99 or gnu99 as the default is now gnu99. 2020-08-17 05:57:02 +00:00
file
file2c
find Use the Ic macro for find(1) primaries consistently 2020-04-18 13:29:54 +00:00
finger
fmt
fold
fortune fortune(6): Grammar fix for a hint on searching ports 2020-09-04 13:05:00 +00:00
from
fstat Clean up and improve manual page for fuser(1) 2020-06-18 11:18:26 +00:00
fsync
ftp
gcore Use MACHINE_CPUARCH when checking for arm64 2020-09-14 16:12:28 +00:00
gencat
getaddrinfo
getconf Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
getent
getopt
gh-bc Connect the tests provided with the new bc and dc 2020-08-03 20:26:04 +00:00
gprof Cleanups for gprof: 2020-09-14 16:18:53 +00:00
grdc
grep zgrep: fix exit status with multiple files 2020-10-01 21:48:22 +00:00
gzip Remove unneeded checks for prelen. 2020-03-14 05:57:22 +00:00
head
hesinfo
hexdump hexdump(1): Add EXAMPLES section 2020-06-29 15:15:14 +00:00
host
iconv
id
ident
indent indent(1): add fallthrough markers 2020-05-21 17:34:31 +00:00
ipcrm
ipcs
iscsictl Stop hardcoding WARNS in iscsictl(8). 2020-04-01 15:08:53 +00:00
join join(1): Add EXAMPLES section 2020-06-20 11:27:59 +00:00
jot
kdump kdump: decode shm_open2 2020-02-19 14:55:59 +00:00
keylogin
keylogout
killall killall(1): Clarify -d, -s and -v options 2020-06-27 11:28:11 +00:00
ktrace
ktrdump
kyua Install a kyua.conf based on the one in devel/kyua. 2020-04-03 15:47:15 +00:00
lam
last
lastcomm
ldd Fix ldd for PIE binaries after rtld stopped accepting binaries for dlopen. 2020-06-13 18:21:31 +00:00
ldd32
leave Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
less
lessecho
lesskey
lex MFV: r362286 2020-06-18 18:09:16 +00:00
limits limits(1): Add EXAMPLES section 2020-06-25 16:46:27 +00:00
locale locale: exit 1 if unknown keyword was specified 2020-06-13 08:37:24 +00:00
localedef Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
locate locate: fix -fno-common build 2020-03-29 19:16:14 +00:00
lock
lockf Remove whitespace which accidentaly snuck into r364831. 2020-08-26 19:28:30 +00:00
logger logger: temporarily disable Capsicum when a host is provided 2020-04-08 18:43:00 +00:00
login Normalize deployment tools usage and definitions by putting into one place 2020-04-07 02:46:22 +00:00
logins
logname
look
lorder
lsvfs
lzmainfo
m4 Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
mail mail/gprof/tip: tap with the ugly stick 2020-04-06 23:28:24 +00:00
man
mandoc Ensure that the makewhatis symlink is added in the bootstrap-tools stage 2020-09-10 15:37:29 +00:00
mesg
minigzip
ministat Minor cleanups to allow handing vast datasets. 2020-02-03 20:46:31 +00:00
mkcsmapper mkcsmapper: Fix UBSan signed shift error 2020-09-21 19:03:17 +00:00
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
mkstr
mktemp
mkuzip
morse
msgs
mt
nc
ncal Remove spurious transition from Julian to Gregorian for country 2020-03-29 04:18:27 +00:00
netstat Add a -C option to netstat to display the congestion control for 2020-09-13 09:14:32 +00:00
newgrp
newkey
nfsstat Fix output of nfsstat -cE in json or xml mode 2020-09-02 17:36:30 +00:00
nice
nl nl(1): Add EXAMPLES section 2020-06-18 08:26:26 +00:00
nm
nohup
number
objcopy
ofed build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch Remove heuristic for dealing with trailing newlines being truncated by mailers. 2020-08-16 23:55:23 +00:00
pathchk
perror
pom
posixshmcontrol Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
pr
primes Fix the way 'factor' behaves when using OpenSSL to match the description 2020-01-12 20:25:11 +00:00
printenv
printf printf(1): Add EXAMPLES section 2020-07-01 16:33:32 +00:00
proccontrol Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
procstat procstat: Fix regression after 365880. 2020-09-29 00:20:58 +00:00
protect Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
quota
random random(6): Re-add undocumented support for floating point denominators 2020-02-15 19:13:37 +00:00
rctl
readelf
renice
resizewin
rev rev(1): Add EXAMPLES section 2020-06-27 11:19:18 +00:00
revoke
rpcgen
rpcinfo
rs
rup
ruptime Remove extra spaces for the load average of machines that are down. 2020-04-04 12:07:36 +00:00
rusers
rwall
rwho
script Fix typo in comment. 2020-09-05 04:20:29 +00:00
sdiff
sdiotool
sed sed: fix hex_subst test after after r363679 2020-07-30 13:36:24 +00:00
seq seq(1): complete EXAMPLES section 2020-06-20 11:24:29 +00:00
setchannel
shar
showmount
size
smbutil
sockstat Add a -C option to sockstat to display the congestion control for TCP 2020-09-13 09:12:25 +00:00
soelim
sort Fix -Wpointer-sign warnings in bwstring.c 2020-09-10 15:37:19 +00:00
split split(1): Add EXAMPLES section 2020-06-18 15:14:10 +00:00
ssh-copy-id
stat
stdbuf
strings
su Do not use macros in -width 2020-03-26 17:58:52 +00:00
svn Update Subversion to 1.14.0 LTS. See contrib/subversion/CHANGES for a 2020-06-01 10:27:05 +00:00
systat Handle device removal and removal+add cases to fix infinity rate. 2020-07-11 13:56:36 +00:00
tabs
tail Use -F instead of -f in tail(1) examples 2020-03-22 21:51:50 +00:00
talk
tar build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
tcopy
tee tee.1: Add a missing article 2020-06-23 10:22:58 +00:00
telnet
tests
tftp Add support for the TFTP windowsize option described in RFC 7440. 2020-03-02 22:19:30 +00:00
time time(1): Add EXAMPLES section 2020-07-07 16:07:39 +00:00
timeout timeout(1): Add EXAMPLES section 2020-07-07 17:02:23 +00:00
tip mail/gprof/tip: tap with the ugly stick 2020-04-06 23:28:24 +00:00
top top: VIS_SAFE turned out to be unsafe 2020-07-14 22:43:40 +00:00
touch
tput tput(1): Several enhancements for the manual page 2020-08-11 21:44:43 +00:00
tr
true
truncate truncate(1): Add EXAMPLES section 2020-07-27 15:25:04 +00:00
truss truss: print more information about traced sysctls 2020-07-05 19:53:54 +00:00
tset
tsort tsort(1): Add EXAMPLES section 2020-08-30 17:37:56 +00:00
tty
ul
uname Document the order in which the kernel and the user environment versions 2020-08-10 09:03:29 +00:00
unexpand
unifdef
uniq Add EXAMPLES to cover all flags except -f since it is analogous to -s. 2020-06-07 13:21:47 +00:00
units Tell the world how to convert gigabytes to bytes with units(1) easily 2020-03-17 10:02:59 +00:00
unvis
unzip Don't explicitly specify c99 or gnu99 as the default is now gnu99. 2020-08-17 05:57:02 +00:00
usbhidaction
usbhidctl
users Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
uudecode
uuencode
vacation
vgrind Normalize deployment tools usage and definitions by putting into one place 2020-04-07 02:46:22 +00:00
vi Update nvi to 2.2.0-05ed8b9 2020-10-01 04:46:23 +00:00
vis
vmstat Describe the value in the 're' column of vmstat(8) in terms of freebsd's vm 2020-07-26 18:33:29 +00:00
vtfontcvt Document automatic handling of font height for BDF files 2020-08-02 16:41:36 +00:00
w w(1): Add EXAMPLES to man page 2020-08-24 17:57:08 +00:00
wall
wc wc(1): document SIGINFO handling in the manual page. 2020-04-11 08:16:35 +00:00
what
whereis whereis: remove gnu/libexec from source search paths 2020-02-19 14:40:53 +00:00
which Fix typo and environment variable macro 2020-09-24 16:42:17 +00:00
who who(1): Add EXAMPLES section 2020-08-30 17:40:59 +00:00
whois whois: Handle referrals to rwhois servers. 2020-07-09 17:27:14 +00:00
write
xargs xargs: add some long options for GNU compatibility 2020-09-21 17:06:36 +00:00
xinstall Allow install(1)'s create_tempfile() to work on Linux hosts 2020-07-15 17:24:39 +00:00
xo
xohtml Import libxo-1.4.0: 2020-01-25 21:16:45 +00:00
xolint
xopo
xstr
xz
xzdec
yacc MFV: r362513 2020-07-14 01:54:24 +00:00
yes
ypcat
ypmatch
ypwhich
zstd Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
Makefile Cleanups for gprof: 2020-09-14 16:18:53 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
Makefile.powerpc