GNU bug report logs - #36367
Potential bug in grep / egrep

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: grep; Reported by: Henrik Holst <henrik.holst@HIDDEN>; dated Mon, 24 Jun 2019 22:08:01 UTC; Maintainer for grep is bug-grep@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jun 2019 22:07:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 24 18:07:32 2019
Received: from localhost ([127.0.0.1]:58214 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hfX7b-000653-HD
	for submit <at> debbugs.gnu.org; Mon, 24 Jun 2019 18:07:32 -0400
Received: from lists.gnu.org ([209.51.188.17]:44592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <henrik.holst@HIDDEN>) id 1hfX2E-0005wh-TT
 for submit <at> debbugs.gnu.org; Mon, 24 Jun 2019 18:01:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54990)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <henrik.holst@HIDDEN>) id 1hfX2D-0007zf-Ej
 for bug-grep@HIDDEN; Mon, 24 Jun 2019 18:01:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE,RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <henrik.holst@HIDDEN>) id 1hfX2B-0004Bf-Bj
 for bug-grep@HIDDEN; Mon, 24 Jun 2019 18:01:57 -0400
Received: from mail-oln040092068085.outbound.protection.outlook.com
 ([40.92.68.85]:60482 helo=EUR02-HE1-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <henrik.holst@HIDDEN>)
 id 1hfX2A-0003On-NZ
 for bug-grep@HIDDEN; Mon, 24 Jun 2019 18:01:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=qWrjG+aPE1gBim/brzWkExJ+Vr0mkVWXfKPcm2VbkXQ=;
 b=T6R2lxOBU3GvK39doSDgomFGz7tO09JhBV7NYGYaqIAO01mGNMuDZEOP8x6us1FTOO+K9aU5JstwdG+Kd6LCVjArBkHGudYjbQowPEskzY6wUtd2iaNzX8S2PxVjSwLYWbVHiobCF/crhF6CmAXT0lOCnCbpO/OO8sPBBUIgpOc73m3D9GErxlRp/Pm66U521CA531XiMEtdYkBLf/Ki2CrdUkOOP24lQCJKmVMXoh03RqbbIpPD4xRA6oDCSw802SRTIDQ4IFD0gQgssbEHhmUjUz5SQ0pgVSSGssia103aTDklvVRUcZH6HgzxPTLZf7KJu+oNFjgJBRjJJks6Pg==
Received: from AM5EUR02FT052.eop-EUR02.prod.protection.outlook.com
 (10.152.8.57) by AM5EUR02HT107.eop-EUR02.prod.protection.outlook.com
 (10.152.9.168) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.13; Mon, 24 Jun
 2019 22:01:22 +0000
Received: from HE1PR0801MB1628.eurprd08.prod.outlook.com (10.152.8.53) by
 AM5EUR02FT052.mail.protection.outlook.com (10.152.9.13) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.2008.13 via Frontend Transport; Mon, 24 Jun 2019 22:01:22 +0000
Received: from HE1PR0801MB1628.eurprd08.prod.outlook.com
 ([fe80::cd46:707:a113:f440]) by HE1PR0801MB1628.eurprd08.prod.outlook.com
 ([fe80::cd46:707:a113:f440%4]) with mapi id 15.20.1987.014; Mon, 24 Jun 2019
 22:01:22 +0000
From: Henrik Holst <henrik.holst@HIDDEN>
To: "bug-grep@HIDDEN" <bug-grep@HIDDEN>
Subject: Potential bug in grep / egrep
Thread-Topic: Potential bug in grep / egrep
Thread-Index: AQHVKthV91e7lC5pc0misp1TFjTRSw==
Date: Mon, 24 Jun 2019 22:01:22 +0000
Message-ID: <HE1PR0801MB1628137E6016D5937A11F1E08DE00@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-incomingtopheadermarker: OriginalChecksum:16EBA1FECFB8E6D22194E7AA30692F520E98C8CF072DED883F017FBECF0122CB;
 UpperCasedChecksum:394362B2FE4D7F1E892B20E566E00911425FE07DF68D03E67D8A2B290E16FE20;
 SizeAsReceived:6575; Count:41
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [sysC4KYjsMyRrgKX4Zuw3xQoTcqZ2jCZgRToRWVwU0s=]
x-ms-publictraffictype: Email
x-incomingheadercount: 41
x-eopattributedmessage: 0
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045);
 SRVR:AM5EUR02HT107; 
x-ms-traffictypediagnostic: AM5EUR02HT107:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-message-info: IwdionZZU3cznsHGeIjXWOAreP8d1fY5+Zbhjlz4TotPhqFZbgr0+uDaAVvnnQNM9pIa7321+GMj3bKYJCCjb0l9fM2J4VszUukyZz3oOMJntR+6+ntHVoqNjuo+QnD00j2timhmAra1TQS1W08R57oa7suyV+GVrSJKQjMxZDa1Ju36vInhzPJtGD6Frv4V
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: f637410c-1702-48b7-07a4-08d6f8ef7eb1
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 22:01:22.5196 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT107
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 40.92.68.85
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 24 Jun 2019 18:07:30 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

I expected these two commands to produce the exact same result:=0A=
=0A=
holst@hholst-lt:~$ egrep -l '^(telegram-desktop)$' /proc/*/cmdline=0A=
/proc/20596/cmdline=0A=
holst@hholst-lt:~$ egrep -x -l 'telegram-desktop' /proc/*/cmdline=0A=
/proc/20596/cmdline=0A=
/proc/self/cmdline=0A=
/proc/thread-self/cmdline=0A=
holst@hholst-lt:~$ =0A=
=0A=
Version:=0A=
=0A=
holst@hholst-lt:~$ egrep --version=0A=
grep (GNU grep) 3.3=0A=
Copyright (C) 2018 Free Software Foundation, Inc.=0A=
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.ht=
ml>.=0A=
This is free software: you are free to change and redistribute it.=0A=
There is NO WARRANTY, to the extent permitted by law.=0A=
=0A=
Written by Mike Haertel and others; see=0A=
<https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.=0A=
holst@hholst-lt:~$ cat /etc/lsb-release =0A=
DISTRIB_ID=3DUbuntu=0A=
DISTRIB_RELEASE=3D19.04=0A=
DISTRIB_CODENAME=3Ddisco=0A=
DISTRIB_DESCRIPTION=3D"Ubuntu 19.04"=0A=
holst@hholst-lt:~$ =0A=
=0A=
=0A=




Acknowledgement sent to Henrik Holst <henrik.holst@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-grep@HIDDEN. Full text available.
Report forwarded to bug-grep@HIDDEN:
bug#36367; Package grep. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 24 Jun 2019 22:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.