bug-gzip
[Top][All Lists]
Advanced

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

bug#25207: Bug: OPTIONs are the same as for 'grep'.


From: Chris Musinsky
Subject: bug#25207: Bug: OPTIONs are the same as for 'grep'.
Date: Thu, 15 Dec 2016 09:33:11 -0600

 > 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 <address@hidden>.

> 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.


reply via email to

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