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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15770 in the body.
You can then email your comments to 15770 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#15770; Package gzip. (Thu, 31 Oct 2013 16:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Horst Scheuermann <scheuerm <at> uni-trier.de>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Thu, 31 Oct 2013 16:04:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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






Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Thu, 31 Oct 2013 16:37:01 GMT) Full text and rfc822 format available.

Notification sent to Horst Scheuermann <scheuerm <at> uni-trier.de>:
bug acknowledged by developer. (Thu, 31 Oct 2013 16:37:02 GMT) Full text and rfc822 format available.

Message #10 received at 15770-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Nov 2013 12:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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