emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#57613: closed (grep man page tries to rewrite POSIX history)


From: GNU bug Tracking System
Subject: bug#57613: closed (grep man page tries to rewrite POSIX history)
Date: Tue, 06 Sep 2022 19:29:02 +0000

Your message dated Tue, 6 Sep 2022 14:28:12 -0500
with message-id <4d4df90b-fb16-7b67-3b19-e90b6cd46826@cs.ucla.edu>
and subject line Re: bug#57613: grep man page tries to rewrite POSIX history
has caused the debbugs.gnu.org bug report #57613,
regarding grep man page tries to rewrite POSIX history
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
57613: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57613
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: grep man page tries to rewrite POSIX history Date: Tue, 6 Sep 2022 13:28:37 +0100
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.)




--- End Message ---
--- Begin Message --- Subject: Re: bug#57613: grep man page tries to rewrite POSIX history Date: Tue, 6 Sep 2022 14:28:12 -0500 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
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.

Attachment: 0001-Fix-obsolescence-doc-for-egrep-fgrep.patch
Description: Text Data


--- End Message ---

reply via email to

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