xzgrep: fix typo in $0 parsing
Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org> Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
1125611b9b
commit
5e34990595
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue