Hi,

following commit removed workaround as subject says:

http://git.savannah.gnu.org/cgit/gzip.git/commit/zgrep.in?id=0dd0c55c25126daeb203b68fdc1b9b92ae712326

Can we have it back again? See attached diff.

Thanks,

Petr
--- gzip-1.5/zgrep.in.orig      2012-01-01 00:53:58.000000000 -0800
+++ gzip-1.5/zgrep.in   2012-10-19 06:41:52.770475912 -0700
@@ -144,6 +148,10 @@
   esac
 
   case $option in
+  -[ef])
+    if test "$grep" = '${GREP-grep}'; then # grep is buggy with -e on SVR4
+      grep='${EGREP-egrep}'
+    fi;;
   (*\'?*)
     option=\'$(printf '%s\n' "$option" | sed "$escape");;
   (*)

Reply via email to