--- Begin Message ---
Subject: |
egrep and fgrep? |
Date: |
Wed, 11 Aug 2021 09:22:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi! A long standing pet issue of mine are the "deprecated" (since
2005?) tools fgrep and egrep. If there is any meaning to the term
"deprecated", maybe they should be dropped at some point, or the
deprecation-status escalated (stderr warning? syslog output?). What do
you think?
Maybe now is an acceptable time to drop them, I recall seeing some more
recent distributions that do not provide them, and things appears to
work for them except for the rare bug here and there.
Alternatively, how about un-deprecating them, for compatibility with BSD
and deployed popular usage. I must admint I use egrep quite often. I
think un-deprecating tools/APIs is an acceptable thing to do in some
cases.
Maybe a middle-ground could exist, that they won't be installed (or
work?) in some "POSIX"-mode -- I think the main reason for deprecating
them was that POSIX dropped a requirement for them? That doesn't
necessarily mean things must be deprecated.
/Simon
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#49996: egrep and fgrep? |
Date: |
Mon, 16 Aug 2021 10:14:02 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/16/21 4:32 AM, Jim Meyering wrote:
* src/egrep.sh: Issue a obsolescence warning.
s/a/an/
Thanks, I fixed that and installed the result with a bug# in the commit
message. Closing the bug report.
--- End Message ---