Open moralground opened 1 year ago
But what about systems where egrep
is not grep -E
? A better fix would be to have an egrep wrapper she'll script that exec
s grep -E
on Linux.
A better fix would be to have an egrep wrapper shell script that
exec
sgrep -E
on Linux.
That's what egrep currently is on Linux, but with the obnoxious warning. I think the next version of coreutils will outright refuse to run it.
It is unfortunate that coreutils is breaking compatibility with the rest of the open source ecosystem in this way, as thwre are systems other than Linux (and even Linux-based systems that do not use the GNU utilities, such as Alpine). But the shell script wrapper I was referring to would probably be supplied by plan9ports.
Building plan9port on modern Linux produces a log that's basically unreadable because of so many egrep warnings:
It should be a pretty simple replace in the whole source tree.