Thomas Nikolajsen <thomas.nikolaj...@mail.dk> 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 <b...@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue2120> _____________________________________________________