GNU bug report logs - #15770
zgrep -n does not work for n>9

Previous Next

Package: gzip;

Reported by: Horst Scheuermann <scheuerm <at> uni-trier.de>

Date: Thu, 31 Oct 2013 16:04:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#15770: closed (zgrep -n does not work for n>9)
Date: Thu, 31 Oct 2013 16:37:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 31 Oct 2013 09:36:24 -0700
with message-id <52728708.5010508 <at> cs.ucla.edu>
and subject line Re: bug#15770: zgrep -n does not work for n>9
has caused the debbugs.gnu.org bug report #15770,
regarding zgrep -n does not work for n>9
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
15770: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15770
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Horst Scheuermann <scheuerm <at> uni-trier.de>
To: "bug-gzip <at> gnu.org" <bug-gzip <at> gnu.org>
Subject: zgrep -n does not work for n>9
Date: Thu, 31 Oct 2013 09:42:05 +0000
Hello,

zgrep --version
z$grep (gzip) 1.3.12
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.


This works:

zgrep -9 marclatz syslog-20131031.gz | wc -l
19

And this:

zgrep -C 10 marclatz syslog-20131031.gz | wc -l
21

This does not work:

zgrep -10 marclatz syslog-20131031.gz | wc -l
gzip: marclatz.gz: No such file or directory
2092205


But this works:

gunzip -c syslog-20131031.gz | grep -10 marclatz | wc -l
21

greetings




-- 
Horst Scheuermann

Zentrum für Informations-, Medien-
und Kommunikationstechnologie (ZIMK)
Universität Trier
54286 Trier
 
Tel.: +49 651 201/3436
Fax: +49 651 201/3921
E-Mail: Horst.Scheuermann <at> uni-trier.de




[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Horst Scheuermann <scheuerm <at> uni-trier.de>, 
 15770-done <at> debbugs.gnu.org
Subject: Re: bug#15770: zgrep -n does not work for n>9
Date: Thu, 31 Oct 2013 09:36:24 -0700
I think that bug was fixed last year; I can't reproduce it in gzip 1.6.


This bug report was last modified 11 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.