aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/xzgrep.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/xzgrep.in')
-rw-r--r--src/scripts/xzgrep.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in
index baec826e..b180936c 100644
--- a/src/scripts/xzgrep.in
+++ b/src/scripts/xzgrep.in
@@ -29,8 +29,8 @@ xz='@xz@ --format=auto'
unset GZIP BZIP BZIP2 LZOP
case ${0##*/} in
- *egrep*) prog=xzegrep; grep=${GREP:-egrep};;
- *fgrep*) prog=xzfgrep; grep=${GREP:-fgrep};;
+ *egrep*) prog=xzegrep; grep=${GREP:-grep -E};;
+ *fgrep*) prog=xzfgrep; grep=${GREP:-grep -F};;
*) prog=xzgrep; grep=${GREP:-grep};;
esac