]> git.cworth.org Git - gzip/blobdiff - zgrep.in
Imported Debian patch 1.3.12-2
[gzip] / zgrep.in
index 4b1b50940cbaa00b0a65ad885974846573445599..e889ceb3311431aa657d896698b7c25fecef93ee 100644 (file)
--- a/zgrep.in
+++ b/zgrep.in
 PATH=BINDIR:$PATH
 grep='${GREP-grep}'
 
-prog=`echo "$0" | sed 's|.*/||'`
-case "$prog" in
-       *egrep) grep=${EGREP-egrep}     ;;
-       *fgrep) grep=${FGREP-fgrep}     ;;
-       *)      grep=${GREP-grep}       ;;
-esac
-
-version="z$grep (gzip) @VERSION@
+version='z$grep (gzip) @VERSION@
 Copyright (C) 2007 Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
 
-Written by Jean-loup Gailly."
+Written by Jean-loup Gailly.'
 
 usage="Usage: $0 [OPTION]... [-e] PATTERN [FILE]...
 Look for instances of PATTERN in the input FILEs, using their