bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep potential bug in compression lib


From: Alfred M. Szmidt
Subject: Re: grep potential bug in compression lib
Date: Wed, 08 Jan 2003 13:02:00 +0100

   but what about the grep -z command which should have returned
   something else than the garbage it gives ?

You are grepping a gziped file, what did you expect to get? The -z
option in grep has _nothing_ todo with gzip or decompressing files.

>From (grep)Invoking:

`-z'
`--null-data'
     Treat the input as a set of lines, each terminated by a zero byte
     (the ASCII `NUL' character) instead of a newline.  Like the `-Z'
     or `--null' option, this option can be used with commands like
     `sort -z' to process arbitrary file names.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]