GNU bug report logs - #25207
Bug: OPTIONs are the same as for 'grep'.

Previous Next

Package: gzip;

Reported by: Chris Musinsky <cmusinsky <at> gmail.com>

Date: Thu, 15 Dec 2016 16:25:02 UTC

Severity: wishlist

To reply to this bug, email your comments to 25207 AT debbugs.gnu.org.

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#25207; Package gzip. (Thu, 15 Dec 2016 16:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chris Musinsky <cmusinsky <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Thu, 15 Dec 2016 16:25:02 GMT) Full text and rfc822 format available.

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

From: Chris Musinsky <cmusinsky <at> gmail.com>
To: bug-gzip <at> gnu.org
Subject: Bug: OPTIONs are the same as for 'grep'.
Date: Thu, 15 Dec 2016 09:33:11 -0600
[Message part 1 (text/plain, inline)]
 > zgrep --help
Usage: /bin/zgrep [OPTION]... [-e] PATTERN [FILE]...
Look for instances of PATTERN in the input FILEs, using their
uncompressed contents if they are compressed.

OPTIONs are the same as for 'grep'.

Report bugs to <bug-gzip <at> gnu.org>.

> zgrep -r file
/bin/zgrep: -r: option not supported


 case $option in
  (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*)
    printf >&2 '%s: %s: option not supported\n' "$0" "$option"
    exit 2;;

Both the man page and the help for zgrep say it supports all options that
grep does, but it does not support recursion which would be very helpful.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gzip <at> gnu.org:
bug#25207; Package gzip. (Thu, 15 Dec 2016 16:40:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Chris Musinsky <cmusinsky <at> gmail.com>, 25207 <at> debbugs.gnu.org
Subject: Re: bug#25207: Bug: OPTIONs are the same as for 'grep'.
Date: Thu, 15 Dec 2016 08:39:16 -0800
On 12/15/2016 07:33 AM, Chris Musinsky wrote:
> Both the man page and the help for zgrep say it supports all options that
> grep does

That documentation bug was fixed in gzip 1.7, so I guess you are using 
an older version of gzip. I'll mark the bug as a wishlist item.





Severity set to 'wishlist' from 'normal' Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Thu, 15 Dec 2016 16:40:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gzip <at> gnu.org:
bug#25207; Package gzip. (Fri, 16 Dec 2016 16:13:01 GMT) Full text and rfc822 format available.

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

From: Antonio Diaz Diaz <antonio <at> gnu.org>
To: Chris Musinsky <cmusinsky <at> gmail.com>
Cc: 25207 <at> debbugs.gnu.org
Subject: Re: bug#25207: Bug: OPTIONs are the same as for 'grep'.
Date: Fri, 16 Dec 2016 17:10:03 +0100
Chris Musinsky wrote:
> Both the man page and the help for zgrep say it supports all options that
> grep does, but it does not support recursion which would be very helpful.

Sorry for the shameless plug, but if you need a zgrep that supports 
recursion you may try the one in zutils:

http://www.nongnu.org/zutils/zutils.html


Best regards,
Antonio.




This bug report was last modified 8 years and 182 days ago.

Previous Next


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