From 40488bd037b36726f17c26bba8f2b36e051db0a2 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 23 Jun 2022 18:11:46 +0800 Subject: grep: mark egrep and fgrep obsolete They are deprecated since 2007, and the next grep release (3.8 or 4.0) will print a warning if they are used. Url: https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a951562 --- chapter08/grep.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chapter08') diff --git a/chapter08/grep.xml b/chapter08/grep.xml index d06a1ba85..9861d239f 100644 --- a/chapter08/grep.xml +++ b/chapter08/grep.xml @@ -77,7 +77,8 @@ egrep - Prints lines matching an extended regular expression + Prints lines matching an extended regular expression. + It is obsoleted, use grep -E instead egrep @@ -87,7 +88,8 @@ fgrep - Prints lines matching a list of fixed strings + Prints lines matching a list of fixed strings. + It is obsoleted, use grep -F instead fgrep -- cgit v1.2.3-54-g00ecf