HomeFreeBSD

grep: turn off -w if -x is specified

Description

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.

Details

Provenance
kevansAuthored on Feb 4 2021, 9:35 PM
Parents
rGf823c6dc730b: grep: fix null pattern and empty pattern file behavior
Branches
Unknown
Tags
Unknown