diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2014-10-09 18:42:14 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2014-12-17 21:13:42 +0200 |
commit | f229fa32bf70bf9b109864d216719371af108364 (patch) | |
tree | d32cd258b67f7fcc24f01c9192441ceb2819a916 /src/common | |
parent | Build: Detect supported compiler warning flags better. (diff) | |
download | xz-f229fa32bf70bf9b109864d216719371af108364.tar.xz |
xzgrep: Avoid passing both -q and -l to grep.
The behavior of grep -ql varies:
- GNU grep behaves like grep -q.
- OpenBSD grep behaves like grep -l.
POSIX doesn't make it 100 % clear what behavior is expected.
Anyway, using both -q and -l at the same time makes no sense
so both options simply should never be used at the same time.
Thanks to Christian Weisgerber.
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions