New grep error message

egrep: warning: egrep is obsolescent; using grep -E

Running GNOME unstable - this is related to ALL scripts containing egrep
Lot of complains, eg when running scripts using egrep:
"sudo rkhunter --update"

Well, both egrep and fgrep are obsolete in upstream grep package.

So applications using those commands should update to using grep -E|F instead.

This is not something Manjaro can control though.


Some additional details:

egrep, fgrep removal has been making the news lately. The grep man page has said for a long time that:

In addition, the variant programs egrep and fgrep are the same as grep -E and grep -F, respectively. These variants are deprecated, but are provided for backward compatibility.

According to Distrowatch Headlines:

GNU grep declared them deprecated in 2007

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.