[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] egrep: use easier language
From: |
Jan Engelhardt |
Subject: |
[PATCH] egrep: use easier language |
Date: |
Sun, 2 Oct 2022 20:21:11 +0200 |
---
The warning left me a bit puzzled. "obsolescent" is a somewhat unusual word
choice,
and "using" seemed like a misspelling of a request to the user ("(do) use
grep -E (in the future)"). egrep is not really using grep, but delegating to it.
All in all, having to even think about led me to offer this substitution.
src/egrep.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/egrep.sh b/src/egrep.sh
index a0d1694..f27100d 100644
--- a/src/egrep.sh
+++ b/src/egrep.sh
@@ -1,4 +1,4 @@
#!@SHELL@
cmd=${0##*/}
-echo "$cmd: warning: $cmd is obsolescent; using @grep@ @option@" >&2
+echo "$cmd: warning: $cmd is obsolete; forwarding to @grep@ @option@" >&2
exec @grep@ @option@ "$@"
--
2.37.3
- [PATCH] egrep: use easier language,
Jan Engelhardt <=