freebsd-nq/usr.bin
Mariusz Zaborski 24c681a7f6 grep: fix combination of quite and count flag
When the quite (-q) flag is provided, we don't expect any output.
Currently, the behavior is broken:
$ grep -cq flag util.c
1

$ grep -cs flag util.c
55

First of all, we print a number to stdout. Secondly, it just returns
0 or 1 (which is unexpected). GNU grep with c and q flags doesn't
print anything.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D31108
2021-07-09 14:09:14 +02:00
..
addr2line
alias
apply
ar
asa
at
atm
awk one-true-awk: import 20210221 (1e4bc42c53a1) which fixes a number of bugs 2021-07-07 19:25:43 -06:00
backlight
banner banner: Correct history. 2021-06-21 08:40:54 -06:00
basename basename: fix history 2021-06-21 08:40:54 -06:00
bc
biff
bluetooth
bmake Update to bmake-20210621 2021-06-25 16:02:40 -07:00
brandelf
bsdcat
bsdiff
bzip2
bzip2recover
c89
c99
caesar
calendar
cap_mkdb
chat
chkey
chpass
cksum
clang Merge llvm-project 12.0.0 release 2021-06-13 22:01:15 +02:00
cmp
col
colrm
column
comm
compile_et
compress
cpio
cpuset
csplit
ctags
ctlstat
cut
cxxfilt
dc
diff usr.bin/diff: fix UBSan error in readhash 2021-07-06 12:16:40 +01:00
diff3
dirname
dpv
drill
dtc
du
ee
elfctl
elfdump
enigma
env
etdump
expand
factor
false
fetch
file
file2c
find
finger
fmt
fold
fortune freebsd-tips: Fix the description of fetch(1) to match the command 2021-07-05 10:14:25 +08:00
from
fstat
fsync
ftp
gcore
gencat
getaddrinfo
getconf
getent
getopt
gh-bc
gprof
grdc
grep grep: fix combination of quite and count flag 2021-07-09 14:09:14 +02:00
gzip
head
hesinfo
hexdump
host
iconv
id id: sanitize arguments better 2021-06-15 06:51:16 -06:00
ident
indent
ipcrm
ipcs
iscsictl
join
jot
kdump kdump: use VIS_NOLOCALE when printing output 2021-06-16 16:28:27 +01:00
keylogin
keylogout
killall
ktrace
ktrdump
kyua Simplify and speed up the kyua build 2021-07-02 09:21:05 +01:00
lam
last
lastcomm
ldd
ldd32
leave
less
lessecho
lesskey
lex
limits
locale
localedef
locate
lock
lockf
logger
login usr.bin/login: send errors to console if syslog isn't running 2021-07-06 10:51:16 +01:00
logins
logname
look
lorder
lsvfs
lzmainfo
m4
mail
man
mandoc
mesg
minigzip
ministat
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg mkimg: Add fat32lba partition type 2021-06-21 21:04:58 -04:00
mkstr
mktemp
mkuzip
morse
msgs
mt
nc
ncal
ncurses
netstat netstat: Fix typo 2021-07-02 08:42:34 +02:00
newgrp
newkey
nfsstat pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nice
nl
nm
nohup
number
objcopy
ofed
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch
pathchk
perror
pom
posixshmcontrol
pr
primes
printenv
printf
proccontrol proccontrol(1): implement 'nonewprivs' 2021-07-02 08:50:36 +01:00
procstat
protect
quota
random
rctl
readelf
renice
resizewin
rev
revoke
rpcgen
rpcinfo
rs
rup
ruptime
rusers
rwall
rwho
script
sdiff
sdiotool
sed
seq
shar
showmount
size
smbutil
sockstat sockstat: use cap_pwd 2021-06-18 18:08:30 +02:00
soelim
sort usr.bin/sort: Avoid UBSan errors 2021-07-06 10:51:05 +01:00
split
ssh-copy-id
stat
stdbuf
strings
su
systat
tabs
tail
talk
tar
tcopy
tee
telnet
tests
tftp
time
timeout
tip tip: Fix pointer-vs-integer confusion 2021-06-08 18:30:59 +01:00
top top(1): support command name and argument grepping 2021-06-29 17:51:18 -06:00
touch
tr
true
truncate
truss truss: minor cleanup and pedantic warning fixes 2021-06-16 16:35:55 +01:00
tsort
tty
ul
uname
unexpand
unifdef
uniq
units
unvis
unzip
usbhidaction
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat vmstat: correct history 2021-06-21 08:40:54 -06:00
vtfontcvt
w
wall
wc
what
whereis
which
who
whois
write
xargs
xinstall
xo
xohtml
xolint
xopo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
zstd
Makefile Revert "Remove lib/kyua from the build" 2021-07-02 10:17:03 +01:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc