Scripts: Fix xzgrep -l.
commitb441d39855516ae618faffd5156261b8b413394f
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 23 Mar 2011 23:21:32 +0000 (24 01:21 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 23 Mar 2011 23:24:12 +0000 (24 01:24 +0200)
tree46140610a615ec68a9d07cb0059f56a377fc388d
parent82d5164839517f55daeadd9ee88c76425db30224
Scripts: Fix xzgrep -l.

It didn't work at all. It tried to use the -q option
for grep, but it appended it after "--". This works
around it by redirecting to /dev/null. The downside
is that this can be slower with big files compared
to proper use of "grep -q".

Thanks to Gregory Margo.
src/scripts/xzgrep.in