bug-gzip
[Top][All Lists]
Advanced

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

bug#17504: bug in gzgrep?


From: Robert Lawhead
Subject: bug#17504: bug in gzgrep?
Date: Sat, 17 May 2014 07:14:22 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Add Cygwin to the list...
address@hidden:z:442> zgrep --version
zgrep (gzip) 1.4

address@hidden:tmp:432> mkdir z
address@hidden:tmp:433> cd z
address@hidden:z:434> echo foo>a
address@hidden:z:435> echo foo | gzip -c >b
address@hidden:z:436> echo bar>c
address@hidden:z:437> zgrep foo *
a:foo
b:foo
address@hidden:z:438> zgrep -h foo *
a:foo
b:foo
address@hidden:z:439> uname -a
CYGWIN_NT-6.1-WOW64 yosemite 1.7.29(0.272/5/3) 2014-04-07 13:44 i686 Cygwin


On 5/16/2014 6:09 PM, Paul Eggert wrote:
> Robert M. Lawhead wrote:
>> % gzgrep --version
>> gzgrep (gzip) 1.4
>
> Wow, that's old.  I recall fixing that bug some time ago in the GNU sources. 
> I can't reproduce the problem on the oldest Solaris box I have easy access to:
>
> $ echo foo >a
> $ echo foo >b
> $ echo bar >c
> $ gzgrep foo *
> a:foo
> b:foo
> $ gzgrep -h foo *
> foo
> foo
> $ uname -srvmpi
> SunOS 5.10 Generic_147440-19 sun4u sparc SUNW,Sun-Fire-280R
> $ gzgrep --version | sed 1q
> gzgrep (gzip) 1.5
>
> My guess is that you need to bring your Solaris machine up-to-date, by
> installing the usual patches from Oracle.  Probably should be doing that
> anyway, as unpatched machines can be dangerous.



reply via email to

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