[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep potential bug in compression lib
From: |
Cyril Chaboisseau |
Subject: |
grep potential bug in compression lib |
Date: |
Mon, 6 Jan 2003 17:05:05 +0100 |
User-agent: |
Mutt/1.4i |
hi,
there might be a small bug in the zgrep (or grep -z) command :
let's say I have a (or more ) file(s) and I want to number each line so
I use the -n switch and a blank pattern in order to match all lines :
(don't ask me why I don't use the 'nl' command)
$ zgrep -n "" file.gz
[...nothing happen]
and if I use the -z switch instead of the zgrep command
$ grep -zn "" file.gz
1:
>