components/gzip/patches/zgrep.in.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 31 May 2012 17:02:32 -0700
changeset 847 4ae04177ffa1
parent 755 e7d0aed114ef
child 977 4a6b2f8dca71
child 2443 952b267446eb
permissions -rw-r--r--
PSARC 2012/197 rsyslog 4269283 RFE for syslogd to run over tcp with message sequencing 6869456 Syslog should support RFC 5424 7169028 ipmievd depends on system-log:default instance instead of just system-log service

--- gzip-1.4/zgrep.in.orig	2012-03-29 11:17:35.341079056 -0700
+++ gzip-1.4/zgrep.in	2012-03-29 11:18:46.475732896 -0700
@@ -26,7 +26,11 @@
 esac
 PATH=$bindir:$PATH
 
-grep='${GREP-grep}'
+case "$1" in
+	-F) grep='${FGREP-fgrep}'; shift;;
+	-E) grep='${EGREP-egrep}'; shift;;
+	*)  grep='${GREP-grep}';;
+esac
 
 version='zgrep (gzip) @VERSION@
 Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc.