From unknown Wed Jun 18 23:10:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57613 <57613@debbugs.gnu.org> To: bug#57613 <57613@debbugs.gnu.org> Subject: Status: grep man page tries to rewrite POSIX history Reply-To: bug#57613 <57613@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:10:07 +0000 retitle 57613 grep man page tries to rewrite POSIX history reassign 57613 grep submitter 57613 Geoff Clare severity 57613 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 06 08:28:52 2022 Received: (at submit) by debbugs.gnu.org; 6 Sep 2022 12:28:52 +0000 Received: from localhost ([127.0.0.1]:50003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVXhD-0006qR-LR for submit@debbugs.gnu.org; Tue, 06 Sep 2022 08:28:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:60692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVXhC-0006qJ-3l for submit@debbugs.gnu.org; Tue, 06 Sep 2022 08:28:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVXh8-0003bZ-L1 for bug-grep@gnu.org; Tue, 06 Sep 2022 08:28:47 -0400 Received: from smtp94.ord1c.emailsrvr.com ([108.166.43.94]:54376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVXh4-0005Bb-Ub for bug-grep@gnu.org; Tue, 06 Sep 2022 08:28:44 -0400 X-Auth-ID: gwc@mail.opengroup.org Received: by smtp28.relay.ord1c.emailsrvr.com (Authenticated sender: gwc-AT-mail.opengroup.org) with ESMTPSA id 6D555400BE; Tue, 6 Sep 2022 08:28:39 -0400 (EDT) Date: Tue, 6 Sep 2022 13:28:37 +0100 From: Geoff Clare To: bug-grep@gnu.org Subject: grep man page tries to rewrite POSIX history Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Classification-ID: c711129d-ec28-4486-af8b-4cbb0e7f743d-1-1 Received-SPF: pass client-ip=108.166.43.94; envelope-from=gwc@opengroup.org; helo=smtp94.ord1c.emailsrvr.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) The grep 3.8 man page at https://www.gnu.org/software/grep/manual/grep.html says, under "What happened to egrep and fgrep?": egrep and fgrep were not standardized by POSIX This is factually incorrect. They were included in POSIX.2-1992 but marked as obsolescent. When POSIX.2-1992 and POSIX.1-1996 were merged (along with the Single UNIX Specification) to form POSIX.1-2001, the obsolescent features from POSIX.2-1992 were removed. Suggested fix - change: egrep and fgrep were not standardized by POSIX and are no longer needed to: egrep and fgrep were marked obsolescent when they were standardized by POSIX in 1992 and were removed in the 2001 revision; they have long been deprecated by GNU. (I have it second hand that the GNU deprecation occurred in 2007; you could give that date instead of saying "long" if you can confirm it.) From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 06 15:28:23 2022 Received: (at 57613-done) by debbugs.gnu.org; 6 Sep 2022 19:28:23 +0000 Received: from localhost ([127.0.0.1]:52735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVeFC-0007UA-QU for submit@debbugs.gnu.org; Tue, 06 Sep 2022 15:28:23 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:45866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVeFA-0007Tv-SV for 57613-done@debbugs.gnu.org; Tue, 06 Sep 2022 15:28:21 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1AC03160051; Tue, 6 Sep 2022 12:28:14 -0700 (PDT) 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 GJ2tm44QDVn6; Tue, 6 Sep 2022 12:28:13 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 40FB9160062; Tue, 6 Sep 2022 12:28:13 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 40FB9160062 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1662492493; bh=3benwCJ1C5FQ4pVsHhspdjzDS3bliufaV31n9Bccd0I=; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:From; b=ETtMWKj6fMNLahIcwqVTJLpv8o7EDnieJnrKyGsMwK8I8mnhRlfd/MYDj8l68P6Gw K3dU/CKMS7sfgNYcZhJ5+eiHIlU3TPgT1bETU9IEZnuOSoz2EnY50ZGFt8XIw1MymQ K0NQ9DQzEGhVe/6G1vdQOwEoJ0s5UKFaxn5G96hM= 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 hmJGWmbiYOAW; Tue, 6 Sep 2022 12:28:13 -0700 (PDT) Received: from [192.168.0.205] (ip72-206-2-24.fv.ks.cox.net [72.206.2.24]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E4D65160051; Tue, 6 Sep 2022 12:28:12 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------HoqSoCZdyF7A0QA3OhlgyM0x" Message-ID: <4d4df90b-fb16-7b67-3b19-e90b6cd46826@cs.ucla.edu> Date: Tue, 6 Sep 2022 14:28:12 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: bug#57613: grep man page tries to rewrite POSIX history Content-Language: en-US To: Geoff Clare References: From: Paul Eggert In-Reply-To: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57613-done Cc: 57613-done@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: -3.3 (---) This is a multi-part message in MIME format. --------------HoqSoCZdyF7A0QA3OhlgyM0x Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/6/22 07:28, Geoff Clare wrote: > They were included in POSIX.2-1992 but marked as obsolescent. Ouch, as I recall reading POSIX.2-1992 and seeing egrep and fgrep mentioned, but not as part of the standard. I guess I misread the standard. I am away from my printed copy and so cannot easily check this now. I installed the attached which I hope clears this up. --------------HoqSoCZdyF7A0QA3OhlgyM0x Content-Type: text/x-patch; charset=UTF-8; name="0001-Fix-obsolescence-doc-for-egrep-fgrep.patch" Content-Disposition: attachment; filename="0001-Fix-obsolescence-doc-for-egrep-fgrep.patch" Content-Transfer-Encoding: base64 RnJvbSAyMTZmNzU0Mjg3ZjIxMjNmNDVkMjc0ZjBhMDAzMTgyNTI0ZWZkNDNkIE1vbiBTZX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N1ZSBhIHdhcm5pbmcgYW5kIHRoZW4gYWN0IGxpa2Ug dGhlaXIgbW9kZXJuIGNvdW50ZXJwYXJ0czsKK0Bjb21tYW5ke2ZncmVwfSB3ZXJlIGRlZW1l ZCBvYnNvbGVzY2VudCBieSBQT1NJWCBpbiAxOTkyLAorcmVtb3ZlZCBmcm9tIFBPU0lYIGlu IDIwMDEsIGRlcHJlY2F0ZWQgYnkgR05VIEdyZXAgMi41LjMgaW4gMjAwNywKK2FuZCBjaGFu Z2VkIHRvIGlzc3VlIG9ic29sZXNjZW5jZSB3YXJuaW5ncyBieSBHTlUgR3JlcCAzLjggaW4g MjAyMjsKIGV2ZW50dWFsbHksIHRoZXkgYXJlIHBsYW5uZWQgdG8gYmUgcmVtb3ZlZCBlbnRp cmVseS4KIAogSWYgeW91IHByZWZlciB0aGUgb2xkIG5hbWVzLCB5b3UgY2FuIHVzZSB1c2Ug eW91ciBvd24gc3Vic3RpdHV0ZXMsCi0tIAoyLjM3LjIKCg== --------------HoqSoCZdyF7A0QA3OhlgyM0x-- From unknown Wed Jun 18 23:10:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Oct 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator