On 9/5/22 17:07, Karl Berry wrote:
I have hundreds of scripts that use [ef]grep since for many
years they were either the only, or then later the most portable, way to
get the behavior.
Actually, egrep and fgrep were not entirely portable even before POSIX
deprecated them in 2001. For example,
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 c
On 9/6/22 15:33, Karl Berry wrote:
Since it bothers you to use POSIXLY_CORRECT, let's invent
some other envvar that turns off the warning, like
"PLEASE_LET_ME_USE_EFGREP_I_DONT_CARE_ABOUT_POSIX", and Arnold and I
will set it and life can go on.
Python has PYTHONWARNINGS. I suppose GNU Grep coul
On 9/7/22 03:02, Simon Josefsson via Bug reports for GNU grep wrote:
$ grep '\Q' /dev/null
grep: warning: stray \ before Q
$ grep '[:alpha:]' /dev/null
grep: character class syntax is [[:space:]], not [:space:]
Is the use of diagnostic warnings like this supported by POSIX?
Yes, POSIX says tha
On 9/9/22 07:16, Guillem Jover wrote:
There are now packages that fail to work such as
apt-file (https://bugs.debian.org/1019329),
From what I can see, that bug report doesn't say that apt-file fails to
work, only that apt-file issues a warning and then goes on to work.
Transitioning away f
Thanks for reporting the documentation problem. I installed the
attached, which isn't the same as the patch you suggested but which I
hope addresses the confusion concisely. Please let me know if it's still
confusing. Thanks.From b3cd2ee4aeaf01930c88ac6320afa347e74e91aa Mon Sep 17 00:00:00 2001
On 9/19/22 05:32, Santiago Ruano Rincón wrote:
as you can read below, there are 4235 packages including the
warning in their build logs. Funnily, grep is also in the list :-)
Grep is on the list because Debian indirectly requires ucf to build
Grep, and ucf issues the warning about stray \ bec