diff options
Diffstat (limited to 'Build/source/extra/xz/src/scripts/xzgrep.in')
-rw-r--r-- | Build/source/extra/xz/src/scripts/xzgrep.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/extra/xz/src/scripts/xzgrep.in b/Build/source/extra/xz/src/scripts/xzgrep.in index a8b8117a0c1..ae30725c69f 100644 --- a/Build/source/extra/xz/src/scripts/xzgrep.in +++ b/Build/source/extra/xz/src/scripts/xzgrep.in @@ -27,7 +27,7 @@ xz='@xz@ --format=auto' unset GZIP BZIP BZIP2 -case ${0##/*} in +case ${0##*/} in *egrep*) prog=xzegrep; grep=${GREP:-egrep};; *fgrep*) prog=xzfgrep; grep=${GREP:-fgrep};; *) prog=xzgrep; grep=${GREP:-grep};; @@ -35,7 +35,7 @@ esac version="$prog (@PACKAGE_NAME@) @VERSION@" -usage="Usage: ${0##/*} [OPTION]... [-e] PATTERN [FILE]... +usage="Usage: ${0##*/} [OPTION]... [-e] PATTERN [FILE]... Look for instances of PATTERN in the input FILEs, using their uncompressed contents if they are compressed. |