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: Cyril Chaboisseau
Subject: Re: grep potential bug in compression lib
Date: Wed, 8 Jan 2003 12:25:31 +0100
User-agent: Mutt/1.4i

 Le 08 janvier vers 11:40, Stepan Kasal écrivait:
> Hello,
>       thank you for your bug report.

> This indeed is a bug in the zgrep script.
> grep -z means zero-terminated input, at least for GNU grep, so it's not
> relevant here.
> 
> A patch to zgrep script is attached to this mail.

thanks

> The zgrep script is part of gzip package, I'll forward the patch to its
> maintainers.

ok,

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

maybe it should give a result (with the numbering of all lines) just
like it does for the non-compress version


could it be another bug in the grep executable ?
(for empty or "match all" regexpr when applying onto compressed files)

-- 
        Cyril Chaboisseau




reply via email to

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