]> granicus.if.org Git - xz/commit
Scripts: Fix xzgrep -l.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 23 Mar 2011 23:21:32 +0000 (01:21 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 23 Mar 2011 23:21:32 +0000 (01:21 +0200)
commitc7210d9a3fca6f31a57208bfddfc9ab20a2e097a
tree2e7f705d2eddf845fd1e37d9809048a5ad6f40f8
parent4eb83e32046a6d670862bc91c3d82530963b455e
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