]> 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>
Thu, 11 Feb 2021 15:20:18 +0000 (09:20 -0600)
commit1db55207b66154de839e515046736cd06e50fe30
tree55d92a0406ed71d1a1101d855330a1b9b73d3a35
parent92ddb6090b0c5091a64855a514676a452c10750c
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.

(cherry picked from commit 2373acbbb77d694b997d90f3251810c6edf5d6d8)
usr.bin/grep/grep.1
usr.bin/grep/grep.c