From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 11:24:40 2016 Received: (at submit) by debbugs.gnu.org; 15 Dec 2016 16:24:40 +0000 Received: from localhost ([127.0.0.1]:43088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHYpk-00075Z-9H for submit@debbugs.gnu.org; Thu, 15 Dec 2016 11:24:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHY3S-0005rC-QN for submit@debbugs.gnu.org; Thu, 15 Dec 2016 10:34:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHY3M-0001Vt-UF for submit@debbugs.gnu.org; Thu, 15 Dec 2016 10:34:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44958) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHY3M-0001Vp-Qy for submit@debbugs.gnu.org; Thu, 15 Dec 2016 10:34:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHY3L-0003hl-QF for bug-gzip@gnu.org; Thu, 15 Dec 2016 10:34:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHY3I-0001QX-Kf for bug-gzip@gnu.org; Thu, 15 Dec 2016 10:34:39 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:36692) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHY3I-00016J-EF for bug-gzip@gnu.org; Thu, 15 Dec 2016 10:34:36 -0500 Received: by mail-wm0-f41.google.com with SMTP id g23so169541638wme.1 for ; Thu, 15 Dec 2016 07:34:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rZXhnXXSgFNXRREMoIyn1hazHPI2n64REgyZMLSMKnw=; b=Cg86bTELlCBla5aqZbH3TovZToSf8w/7kU+eaTa2SSawdXpGWXCrXuBwVM6Dq6KLgO q0KjLBZnXs2G4dclXh+cR70h85aCzj9yokNoddVXi0w91MfIM0avwwVPxOoO+2xQZydn 2DaTaNuYbEnoAFXX6/bIT9PB9v7odjERh9IWoNoqou9w0qpKyoGMTsFufoGQV1w4KvGd ASOzZVUxAMnb8wODofPO4mFzXLK/UhAOjKYl4CmPBIglg2UOK2FtgdUnEPzJtVcajVUi uQOBAzeWHjBCZzgVcINMswjfNt7FTHy9gp3NzbyPgy8i+6mShLPxNG8lqCrX7pwwlvHf YhzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rZXhnXXSgFNXRREMoIyn1hazHPI2n64REgyZMLSMKnw=; b=uMxvGtUrBF4JBlJiRnia/KEH4Fjj08kDJ0no/BW907Te5FOuUxe6F1/XPJnkIBSRhI z7Ub/i2IByqFkNWI/kQmbaHiywOXmZ8ca/ZblCfxbWxYjcl3zqCzZ+TAp3yyWl3JX0BW orQ1xpuumaT1novRXnjGk9S9T0ChxQKRSe1OaSrKbOvtWSoPO93D4OTYwiYuL3soE1iW 75E2cvCXrIyQMrtT54tLXU/+eHU8D0sOZmWjgGSTzGWEb9+oPrOGrdNeAm3Qf40SyNuM buMq4mcrnweU9Uafk/IcHmEiRPAP6ZOnf2y9go9QvhDG/+eL+bDTQVNyCPybFe6CEl2f aEmw== X-Gm-Message-State: AIkVDXKyqORkz8xROH0cQjTL/TC4w1NjFfBfIPf0ZGstOUKVNNMVnzztwrzPUHm63G6bQiq3vo+kmo8u58/suA== X-Received: by 10.28.211.72 with SMTP id k69mr1913425wmg.137.1481815992385; Thu, 15 Dec 2016 07:33:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.83.101 with HTTP; Thu, 15 Dec 2016 07:33:11 -0800 (PST) From: Chris Musinsky Date: Thu, 15 Dec 2016 09:33:11 -0600 Message-ID: Subject: Bug: OPTIONs are the same as for 'grep'. To: bug-gzip@gnu.org Content-Type: multipart/alternative; boundary=001a11470106d943f60543b42b58 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 15 Dec 2016 11:24:38 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11470106d943f60543b42b58 Content-Type: text/plain; charset=UTF-8 > 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 . > 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. --001a11470106d943f60543b42b58 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=C2=A0> zgrep --help
Usage: /bin/zgrep [OPTION]= ... [-e] PATTERN [FILE]...
Look for instances of PATTERN in the input FI= LEs, using their
uncompressed contents if they are compressed.

OP= TIONs are the same as for 'grep'.

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

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


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

Both the man page and the help for zgrep say it supports all options th= at grep does, but it does not support recursion which would be very helpful= .
--001a11470106d943f60543b42b58-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 11:39:26 2016 Received: (at 25207) by debbugs.gnu.org; 15 Dec 2016 16:39:26 +0000 Received: from localhost ([127.0.0.1]:43118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHZ42-0007Ti-9o for submit@debbugs.gnu.org; Thu, 15 Dec 2016 11:39:26 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:57224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHZ40-0007TT-Ct for 25207@debbugs.gnu.org; Thu, 15 Dec 2016 11:39:25 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8659A1600CE; Thu, 15 Dec 2016 08:39:17 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id xZu-aLiVd3hW; Thu, 15 Dec 2016 08:39:16 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D65861600CB; Thu, 15 Dec 2016 08:39:16 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id rfEZogcx4Jrv; Thu, 15 Dec 2016 08:39:16 -0800 (PST) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id BF10C1600CE; Thu, 15 Dec 2016 08:39:16 -0800 (PST) Subject: Re: bug#25207: Bug: OPTIONs are the same as for 'grep'. To: Chris Musinsky , 25207@debbugs.gnu.org References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Thu, 15 Dec 2016 08:39:16 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 25207 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.1 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 11:40:01 2016 Received: (at control) by debbugs.gnu.org; 15 Dec 2016 16:40:01 +0000 Received: from localhost ([127.0.0.1]:43121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHZ4b-0007UU-J2 for submit@debbugs.gnu.org; Thu, 15 Dec 2016 11:40:01 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:57372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHZ4Z-0007UG-MD for control@debbugs.gnu.org; Thu, 15 Dec 2016 11:39:59 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4C7181600CB for ; Thu, 15 Dec 2016 08:39:54 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id WQ-BRFEfPfLW for ; Thu, 15 Dec 2016 08:39:53 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A103F1600CE for ; Thu, 15 Dec 2016 08:39:53 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Zarnm49J5ZfC for ; Thu, 15 Dec 2016 08:39:53 -0800 (PST) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8A9191600CB for ; Thu, 15 Dec 2016 08:39:53 -0800 (PST) To: control@debbugs.gnu.org From: Paul Eggert Subject: 25207 is wishlist Organization: UCLA Computer Science Department Message-ID: <9b7d66da-54b5-df31-c359-03ab3c3a6a21@cs.ucla.edu> Date: Thu, 15 Dec 2016 08:39:53 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.1 (---) severity 25207 wishlist From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 11:12:33 2016 Received: (at 25207) by debbugs.gnu.org; 16 Dec 2016 16:12:33 +0000 Received: from localhost ([127.0.0.1]:44461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHv7Z-0002c7-AC for submit@debbugs.gnu.org; Fri, 16 Dec 2016 11:12:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHv7X-0002bu-SY for 25207@debbugs.gnu.org; Fri, 16 Dec 2016 11:12:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHv7N-0006d8-C6 for 25207@debbugs.gnu.org; Fri, 16 Dec 2016 11:12:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHv7F-0006Zq-Bx; Fri, 16 Dec 2016 11:12:13 -0500 Received: from 213.red-217-124-67.dialup.dynamic.ccgg.telefonica.net ([217.124.67.213]:55685) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1cHv7E-0000Th-GT; Fri, 16 Dec 2016 11:12:13 -0500 Message-ID: <585411DB.30409@gnu.org> Date: Fri, 16 Dec 2016 17:10:03 +0100 From: Antonio Diaz Diaz User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Chris Musinsky Subject: Re: bug#25207: Bug: OPTIONs are the same as for 'grep'. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 25207 Cc: 25207@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) 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.