Package: gzip Version: 1.5-1.1 Severity: normal Tags: patch Files: /bin/zgrep /usr/share/man/man1/zgrep.1.gz
Rational: $ grep OPTIONs /bin/zgrep OPTIONs are the same as for 'grep'. $ grep -C2 exc /bin/zgrep case $option in (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*) printf >&2 '%s: %s: option not supported\n' "$0" "$option" exit 2;; As an aside, the patch for zgrep.1 has comma (`,') at the beginning of two of the lines. I think those commas should be written at the end of the prevoius line, without being emphazised, --- a/bin/zgrep 2012-06-20 18:30:33.000000000 +0300 +++ b/bin/zgrep 2012-09-10 02:37:13.000000000 +0300 @@ -42,6 +42,9 @@ usage="Usage: $0 [OPTION]... [-e] PATTER Look for instances of PATTERN in the input FILEs, using their uncompressed contents if they are compressed. +Other then + (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*) +, which are NOT supported by $0, OPTIONs are the same as for 'grep'. Report bugs to <bug-g...@gnu.org>." --- a/zgrep.1 2012-09-10 02:51:53.213591617 +0300 +++ b/zgrep.1 2012-09-10 02:51:19.000000000 +0300 @@ -11,7 +11,11 @@ zgrep \- search possibly compressed file invokes .I grep on compressed or gzipped files. -All options specified are passed directly to +Other then +.BI (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*) +, which are NOT supported by +.I zgrep +, all options specified are passed directly to .IR grep . If no file is specified, then the standard input is decompressed if necessary and fed to grep. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org