bug-gzip
[Top][All Lists]
Advanced

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

bug#15770: zgrep -n does not work for n>9


From: Horst Scheuermann
Subject: bug#15770: 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: address@hidden







reply via email to

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