components/gzip/patches/zgrep.in.patch
changeset 755 e7d0aed114ef
child 977 4a6b2f8dca71
child 2443 952b267446eb
equal deleted inserted replaced
754:d1217fe19986 755:e7d0aed114ef
       
     1 --- gzip-1.4/zgrep.in.orig	2012-03-29 11:17:35.341079056 -0700
       
     2 +++ gzip-1.4/zgrep.in	2012-03-29 11:18:46.475732896 -0700
       
     3 @@ -26,7 +26,11 @@
       
     4  esac
       
     5  PATH=$bindir:$PATH
       
     6  
       
     7 -grep='${GREP-grep}'
       
     8 +case "$1" in
       
     9 +	-F) grep='${FGREP-fgrep}'; shift;;
       
    10 +	-E) grep='${EGREP-egrep}'; shift;;
       
    11 +	*)  grep='${GREP-grep}';;
       
    12 +esac
       
    13  
       
    14  version='zgrep (gzip) @VERSION@
       
    15  Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc.