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

Full log


View this message in rfc822 format

From: Chris Musinsky <cmusinsky <at> gmail.com>
To: 25207 <at> debbugs.gnu.org
Subject: bug#25207: 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)]

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.