aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/xzgrep.1
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-11-13 10:11:57 +0200
committerLasse Collin <lasse.collin@tukaani.org>2021-11-13 18:17:33 +0200
commit3a512c7787b2642ca946f4adc6e9a0a5d9b0d5a0 (patch)
treea895271a8461da7a1c3836d185fe6fed0fe11e28 /src/scripts/xzgrep.1
parentBump the version number for 5.3.2alpha. (diff)
downloadxz-3a512c7787b2642ca946f4adc6e9a0a5d9b0d5a0.tar.xz
xzgrep: use `grep -E/-F` instead of `egrep` and `fgrep`
`egrep` and `fgrep` have been deprecated in GNU grep since 2007, and in current post 3.7 Git they have been made to emit obsolescence warnings: https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1
Diffstat (limited to 'src/scripts/xzgrep.1')
-rw-r--r--src/scripts/xzgrep.18
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/xzgrep.1 b/src/scripts/xzgrep.1
index 3ac4fadb..dcbd0316 100644
--- a/src/scripts/xzgrep.1
+++ b/src/scripts/xzgrep.1
@@ -67,9 +67,9 @@ is invoked as
or
.B xzfgrep
then
-.BR egrep (1)
+.B grep \-E
or
-.BR fgrep (1)
+.B grep \-F
is used instead of
.BR grep (1).
The same applies to names
@@ -87,9 +87,9 @@ environment variable is set,
.B xzgrep
uses it instead of
.BR grep (1),
-.BR egrep (1),
+.BR "grep \-E" ,
or
-.BR fgrep (1).
+.BR "grep \-F" .
.SH "SEE ALSO"
.BR grep (1),
.BR xz (1),