]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
grep: turn off -w if -x is specified
authorKyle Evans <kevans@FreeBSD.org>
Thu, 4 Feb 2021 21:35:58 +0000 (15:35 -0600)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 5 Feb 2021 02:59:43 +0000 (20:59 -0600)
commit2373acbbb77d694b997d90f3251810c6edf5d6d8
treeffc30273ae075096dab26728facbdff2bb440ddf
parentf823c6dc730b0dd08b54a53be1d8fd587eee7021
grep: turn off -w if -x is specified

-x overcomes -w in gnugrep, and it should here as well.  Flip it off as
needed to avoid confusing other parts of grep.
usr.bin/grep/grep.1
usr.bin/grep/grep.c