commit | efa7b0a210e1baa8e128fc98c5443a944c39ad24 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Thu Oct 09 18:42:14 2014 +0300 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Thu Oct 09 18:42:14 2014 +0300 |
tree | e8e20012fa99ebe28e9dfb51d528463acd00eddc | |
parent | 9c5f76098c9986b48d2fc574a0b764f4cde0c538 [diff] |
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.