From unknown Fri Sep 05 11:00:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27783: display help instead of pattern search Resent-From: PAYET Matthieu -EXT Original-Sender: "Debbugs-submit" Resent-CC: bug-grep@gnu.org Resent-Date: Fri, 21 Jul 2017 15:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27783 X-GNU-PR-Package: grep X-GNU-PR-Keywords: To: 27783@debbugs.gnu.org X-Debbugs-Original-To: "bug-grep@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.15006492781064 (code B ref -1); Fri, 21 Jul 2017 15:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2017 15:01:18 +0000 Received: from localhost ([127.0.0.1]:51348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYZQc-0000H5-40 for submit@debbugs.gnu.org; Fri, 21 Jul 2017 11:01:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYSdx-0003N8-A9 for submit@debbugs.gnu.org; Fri, 21 Jul 2017 03:46:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYSdq-0007xz-Uj for submit@debbugs.gnu.org; Fri, 21 Jul 2017 03:46:32 -0400 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,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dYSdq-0007xt-RA for submit@debbugs.gnu.org; Fri, 21 Jul 2017 03:46:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYSdp-0002RQ-Dk for bug-grep@gnu.org; Fri, 21 Jul 2017 03:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYSdm-0007v4-9G for bug-grep@gnu.org; Fri, 21 Jul 2017 03:46:29 -0400 Received: from mcegsmtp3.alstom.com ([159.245.16.223]:42680) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dYSdl-0007sF-Ti for bug-grep@gnu.org; Fri, 21 Jul 2017 03:46:26 -0400 Received: from 041-smtp-out.Alstom.com (unknown [141.251.119.210]) by MCEGSMTP3.alstom.com with smtp (TLS: TLSv1/SSLv3,128bits,ECDHE-RSA-AES128-SHA256) id 6d73_1465_1a35716b_2325_4096_851e_4b3d4e6539db; Fri, 21 Jul 2017 09:46:22 +0200 Received: from AMXPR48MB0104.041d.mgd.msft.net (141.251.119.212) by AMXPR48MB0102.041d.mgd.msft.net (141.251.119.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Fri, 21 Jul 2017 07:46:21 +0000 Received: from AMXPR48MB0104.041d.mgd.msft.net ([141.251.119.212]) by AMXPR48MB0104.041d.mgd.msft.net ([141.251.119.212]) with mapi id 15.01.1282.016; Fri, 21 Jul 2017 07:46:21 +0000 From: PAYET Matthieu -EXT Thread-Topic: display help instead of pattern search Thread-Index: AdMB9OyJS4QUB67EQcarNqCopIvEew== Date: Fri, 21 Jul 2017 07:46:20 +0000 Message-ID: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [129.75.64.196] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AMXPR48MB0102: x-ms-office365-filtering-correlation-id: c59de5c8-c776-4c90-6199-08d4d00c9431 Content-Type: multipart/alternative; boundary="_000_6b27bd5fca06410898696eb9d065982dAMXPR48MB0104041dmgdmsf_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Fri, 21 Jul 2017 11:01:17 -0400 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: -5.0 (-----) --_000_6b27bd5fca06410898696eb9d065982dAMXPR48MB0104041dmgdmsf_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, Grep v2.6.3 > grep -ri "--help" . Displays the help message instead of searching for the requested pattern. Same behavior for the pattern "--version" Matthieu P. ________________________________ CONFIDENTIALITY : This e-mail and any attachments are confidential and may = be privileged. If you are not a named recipient, please notify the sender i= mmediately and do not disclose the contents to another person, use it for a= ny purpose or store or copy the information in any medium. --_000_6b27bd5fca06410898696eb9d065982dAMXPR48MB0104041dmgdmsf_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

Grep v2.6.3

 

> grep -ri "--help"= ; .

 

Displays the help message inste= ad of searching for the requested pattern.

Same behavior for the pattern &= #8220;--version”

 

Matthieu P.



CONFIDENTIALITY : This e-ma= il and any attachments are confidential and may be privileged. If you are n= ot a named recipient, please notify the sender immediately and do not discl= ose the contents to another person, use it for any purpose or store or copy the information in any medium.
--_000_6b27bd5fca06410898696eb9d065982dAMXPR48MB0104041dmgdmsf_-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 21 11:08:10 2017 Received: (at control) by debbugs.gnu.org; 21 Jul 2017 15:08:10 +0000 Received: from localhost ([127.0.0.1]:51357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYZXG-0000Ql-Cr for submit@debbugs.gnu.org; Fri, 21 Jul 2017 11:08:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYZXD-0000QQ-UN; Fri, 21 Jul 2017 11:08:08 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 53C2BC0587C7; Fri, 21 Jul 2017 15:08:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 53C2BC0587C7 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=eblake@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 53C2BC0587C7 Received: from [10.3.117.102] (ovpn-117-102.phx2.redhat.com [10.3.117.102]) by smtp.corp.redhat.com (Postfix) with ESMTP id AF08D7E8E2; Fri, 21 Jul 2017 15:07:58 +0000 (UTC) Subject: Re: bug#27783: display help instead of pattern search To: PAYET Matthieu -EXT , 27783-done@debbugs.gnu.org References: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Organization: Red Hat, Inc. Message-ID: <9864f974-eb2e-7211-f35a-d95bd60510cb@redhat.com> Date: Fri, 21 Jul 2017 10:07:58 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K8GAW9VehhWcGh6TdeeMXegCb1rKuFbmp" X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 21 Jul 2017 15:08:02 +0000 (UTC) X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K8GAW9VehhWcGh6TdeeMXegCb1rKuFbmp Content-Type: multipart/mixed; boundary="nboktJO1UAwno1LNrlBIF7xBBBOf4KVnh"; protected-headers="v1" From: Eric Blake To: PAYET Matthieu -EXT , 27783-done@debbugs.gnu.org Message-ID: <9864f974-eb2e-7211-f35a-d95bd60510cb@redhat.com> Subject: Re: bug#27783: display help instead of pattern search References: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> In-Reply-To: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> --nboktJO1UAwno1LNrlBIF7xBBBOf4KVnh Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable tag 27783 notabug thanks On 07/21/2017 02:46 AM, PAYET Matthieu -EXT wrote: > Hello, >=20 > Grep v2.6.3 >=20 >> grep -ri "--help" . >=20 > Displays the help message instead of searching for the requested patter= n. Because you didn't tell grep the options were over. You want: grep -ri -- --help > Same behavior for the pattern "--version" Ditto for any other pattern with a leading '-' - use -- to tell grep that you are done with option parsing and to treat the next argument as a pattern or filename. > CONFIDENTIALITY : This e-mail and any attachments are confidential and = may be privileged. Sorry, but your disclaimer is unenforceable on publicly-archived lists. Please consider using a personal address to avoid spamming us with your employer's legalese. --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --nboktJO1UAwno1LNrlBIF7xBBBOf4KVnh-- --K8GAW9VehhWcGh6TdeeMXegCb1rKuFbmp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAllyGM4ACgkQp6FrSiUn Q2qlJgf9G6DcjyGZDbVTgEmzOQNSSSD4mt1oPz84mRpWFW+VLyYUtGODytiTlYze 2YjAwbW7BkTLu8VLzTDoV5MxEYNmwJTbKMzaXaPCgqixq4+mML21Myot7mZpERL3 tLRiq/AoLhbVor5+0U5tWq1nPD4DBmZAEfRtrKbIg7jav5KoaEnZtD2faJs8/jV1 jf9dFaFts5zyV2/meikqkR8Djt41yuKw3r/3BFLlXd1XQvZv6Fz6jcSyHnnhqFAp EpajSfUMwEDPMZomctH0w/L43rl+zeIDu9w3pwu9Un20VMX0MbPYR48wKntmBhd2 BZWAilZ/pNWrqu9N4XrtNWogv/397Q== =Pmz0 -----END PGP SIGNATURE----- --K8GAW9VehhWcGh6TdeeMXegCb1rKuFbmp-- From unknown Fri Sep 05 11:00:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: PAYET Matthieu -EXT Subject: bug#27783: closed (Re: bug#27783: display help instead of pattern search) Message-ID: References: <9864f974-eb2e-7211-f35a-d95bd60510cb@redhat.com> <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> X-Gnu-PR-Message: they-closed 27783 X-Gnu-PR-Package: grep X-Gnu-PR-Keywords: notabug Reply-To: 27783@debbugs.gnu.org Date: Fri, 21 Jul 2017 15:09:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1500649744-1739-1" This is a multi-part message in MIME format... ------------=_1500649744-1739-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27783: display help instead of pattern search which was filed against the grep package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27783@debbugs.gnu.org. --=20 27783: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27783 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1500649744-1739-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27783-done) by debbugs.gnu.org; 21 Jul 2017 15:08:10 +0000 Received: from localhost ([127.0.0.1]:51355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYZXG-0000Qj-60 for submit@debbugs.gnu.org; Fri, 21 Jul 2017 11:08:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYZXD-0000QQ-UN; Fri, 21 Jul 2017 11:08:08 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 53C2BC0587C7; Fri, 21 Jul 2017 15:08:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 53C2BC0587C7 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=eblake@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 53C2BC0587C7 Received: from [10.3.117.102] (ovpn-117-102.phx2.redhat.com [10.3.117.102]) by smtp.corp.redhat.com (Postfix) with ESMTP id AF08D7E8E2; Fri, 21 Jul 2017 15:07:58 +0000 (UTC) Subject: Re: bug#27783: display help instead of pattern search To: PAYET Matthieu -EXT , 27783-done@debbugs.gnu.org References: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Organization: Red Hat, Inc. Message-ID: <9864f974-eb2e-7211-f35a-d95bd60510cb@redhat.com> Date: Fri, 21 Jul 2017 10:07:58 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K8GAW9VehhWcGh6TdeeMXegCb1rKuFbmp" X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 21 Jul 2017 15:08:02 +0000 (UTC) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27783-done 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: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K8GAW9VehhWcGh6TdeeMXegCb1rKuFbmp Content-Type: multipart/mixed; boundary="nboktJO1UAwno1LNrlBIF7xBBBOf4KVnh"; protected-headers="v1" From: Eric Blake To: PAYET Matthieu -EXT , 27783-done@debbugs.gnu.org Message-ID: <9864f974-eb2e-7211-f35a-d95bd60510cb@redhat.com> Subject: Re: bug#27783: display help instead of pattern search References: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> In-Reply-To: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> --nboktJO1UAwno1LNrlBIF7xBBBOf4KVnh Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable tag 27783 notabug thanks On 07/21/2017 02:46 AM, PAYET Matthieu -EXT wrote: > Hello, >=20 > Grep v2.6.3 >=20 >> grep -ri "--help" . >=20 > Displays the help message instead of searching for the requested patter= n. Because you didn't tell grep the options were over. You want: grep -ri -- --help > Same behavior for the pattern "--version" Ditto for any other pattern with a leading '-' - use -- to tell grep that you are done with option parsing and to treat the next argument as a pattern or filename. > CONFIDENTIALITY : This e-mail and any attachments are confidential and = may be privileged. Sorry, but your disclaimer is unenforceable on publicly-archived lists. Please consider using a personal address to avoid spamming us with your employer's legalese. --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --nboktJO1UAwno1LNrlBIF7xBBBOf4KVnh-- --K8GAW9VehhWcGh6TdeeMXegCb1rKuFbmp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAllyGM4ACgkQp6FrSiUn Q2qlJgf9G6DcjyGZDbVTgEmzOQNSSSD4mt1oPz84mRpWFW+VLyYUtGODytiTlYze 2YjAwbW7BkTLu8VLzTDoV5MxEYNmwJTbKMzaXaPCgqixq4+mML21Myot7mZpERL3 tLRiq/AoLhbVor5+0U5tWq1nPD4DBmZAEfRtrKbIg7jav5KoaEnZtD2faJs8/jV1 jf9dFaFts5zyV2/meikqkR8Djt41yuKw3r/3BFLlXd1XQvZv6Fz6jcSyHnnhqFAp EpajSfUMwEDPMZomctH0w/L43rl+zeIDu9w3pwu9Un20VMX0MbPYR48wKntmBhd2 BZWAilZ/pNWrqu9N4XrtNWogv/397Q== =Pmz0 -----END PGP SIGNATURE----- --K8GAW9VehhWcGh6TdeeMXegCb1rKuFbmp-- ------------=_1500649744-1739-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Jul 2017 15:01:18 +0000 Received: from localhost ([127.0.0.1]:51348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYZQc-0000H5-40 for submit@debbugs.gnu.org; Fri, 21 Jul 2017 11:01:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYSdx-0003N8-A9 for submit@debbugs.gnu.org; Fri, 21 Jul 2017 03:46:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYSdq-0007xz-Uj for submit@debbugs.gnu.org; Fri, 21 Jul 2017 03:46:32 -0400 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,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dYSdq-0007xt-RA for submit@debbugs.gnu.org; Fri, 21 Jul 2017 03:46:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYSdp-0002RQ-Dk for bug-grep@gnu.org; Fri, 21 Jul 2017 03:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYSdm-0007v4-9G for bug-grep@gnu.org; Fri, 21 Jul 2017 03:46:29 -0400 Received: from mcegsmtp3.alstom.com ([159.245.16.223]:42680) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dYSdl-0007sF-Ti for bug-grep@gnu.org; Fri, 21 Jul 2017 03:46:26 -0400 Received: from 041-smtp-out.Alstom.com (unknown [141.251.119.210]) by MCEGSMTP3.alstom.com with smtp (TLS: TLSv1/SSLv3,128bits,ECDHE-RSA-AES128-SHA256) id 6d73_1465_1a35716b_2325_4096_851e_4b3d4e6539db; Fri, 21 Jul 2017 09:46:22 +0200 Received: from AMXPR48MB0104.041d.mgd.msft.net (141.251.119.212) by AMXPR48MB0102.041d.mgd.msft.net (141.251.119.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Fri, 21 Jul 2017 07:46:21 +0000 Received: from AMXPR48MB0104.041d.mgd.msft.net ([141.251.119.212]) by AMXPR48MB0104.041d.mgd.msft.net ([141.251.119.212]) with mapi id 15.01.1282.016; Fri, 21 Jul 2017 07:46:21 +0000 From: PAYET Matthieu -EXT To: "bug-grep@gnu.org" Subject: display help instead of pattern search Thread-Topic: display help instead of pattern search Thread-Index: AdMB9OyJS4QUB67EQcarNqCopIvEew== Date: Fri, 21 Jul 2017 07:46:20 +0000 Message-ID: <6b27bd5fca06410898696eb9d065982d@AMXPR48MB0104.041d.mgd.msft.net> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [129.75.64.196] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AMXPR48MB0102: x-ms-office365-filtering-correlation-id: c59de5c8-c776-4c90-6199-08d4d00c9431 Content-Type: multipart/alternative; boundary="_000_6b27bd5fca06410898696eb9d065982dAMXPR48MB0104041dmgdmsf_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 21 Jul 2017 11:01:17 -0400 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: -5.0 (-----) --_000_6b27bd5fca06410898696eb9d065982dAMXPR48MB0104041dmgdmsf_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, Grep v2.6.3 > grep -ri "--help" . Displays the help message instead of searching for the requested pattern. Same behavior for the pattern "--version" Matthieu P. ________________________________ CONFIDENTIALITY : This e-mail and any attachments are confidential and may = be privileged. If you are not a named recipient, please notify the sender i= mmediately and do not disclose the contents to another person, use it for a= ny purpose or store or copy the information in any medium. --_000_6b27bd5fca06410898696eb9d065982dAMXPR48MB0104041dmgdmsf_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

Grep v2.6.3

 

> grep -ri "--help"= ; .

 

Displays the help message inste= ad of searching for the requested pattern.

Same behavior for the pattern &= #8220;--version”

 

Matthieu P.



CONFIDENTIALITY : This e-ma= il and any attachments are confidential and may be privileged. If you are n= ot a named recipient, please notify the sender immediately and do not discl= ose the contents to another person, use it for any purpose or store or copy the information in any medium.
--_000_6b27bd5fca06410898696eb9d065982dAMXPR48MB0104041dmgdmsf_-- ------------=_1500649744-1739-1--