grep/efgrep-warning.patch

10 lines
292 B
Diff

Index: grep-3.8/src/egrep.sh
===================================================================
--- grep-3.8.orig/src/egrep.sh
+++ grep-3.8/src/egrep.sh
@@ -1,4 +1,2 @@
#!@SHELL@
-cmd=${0##*/}
-echo "$cmd: warning: $cmd is obsolescent; using @grep@ @option@" >&2
exec @grep@ @option@ "$@"