X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=zgrep.in;fp=zgrep.in;h=154d17f4cea73a20179fdcb86a014fc670a9a465;hb=d57728a6ca2413a7c564d8b7bb13d9e5a5a180f3;hp=d09bfa7128cfa8d01c705caaf48c8fd3c223e085;hpb=dc84183747ce1703eb99685b5dbde1f65a143c06;p=debian%2Fgzip diff --git a/zgrep.in b/zgrep.in index d09bfa7..154d17f 100644 --- a/zgrep.in +++ b/zgrep.in @@ -28,10 +28,10 @@ case $1 in esac PATH=$bindir:$PATH -grep='${GREP-grep}' +grep='${GREP-'\''@GREP@'\''}' version='zgrep (gzip) @VERSION@ -Copyright (C) 2010-2012 Free Software Foundation, Inc. +Copyright (C) 2010-2013 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. @@ -65,7 +65,7 @@ while test $# -ne 0; do optarg= case $option in - (-[0123456789EFGHIKLPRTUVZabchilnoqrsuvwxyz]?*) + (-[0123456789EFGHIKLPRTUVZabchilnoqrsuvwxyz]*[!0123456789]*) arg2=-\'$(expr "X$option" : 'X-.[0-9]*\(.*\)' | sed "$escape") eval "set -- $arg2 "'${1+"$@"}' option=$(expr "X$option" : 'X\(-.[0-9]*\)');;