Thomas Nikolajsen <[email protected]> added the comment:

Use case could be:
zgrep -l XXX *.gz

Translating that like 'for X; do zcat "$X" | grep -l XXX; done'
will not show correct file name.

Also 'zgrep kernel /var/log/messages.0.gz /dev/null'
will have similar problem.

_____________________________________________________
DragonFly issue tracker <[email protected]>
<http://bugs.dragonflybsd.org/issue2120>
_____________________________________________________

Reply via email to