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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
755
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
--- gzip-1.4/zgrep.in.orig	2012-03-29 11:17:35.341079056 -0700
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
+++ gzip-1.4/zgrep.in	2012-03-29 11:18:46.475732896 -0700
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
@@ -26,7 +26,11 @@
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
 esac
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
 PATH=$bindir:$PATH
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
 
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
-grep='${GREP-grep}'
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
+case "$1" in
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
+	-F) grep='${FGREP-fgrep}'; shift;;
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
+	-E) grep='${EGREP-egrep}'; shift;;
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
+	*)  grep='${GREP-grep}';;
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
+esac
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
 version='zgrep (gzip) @VERSION@
e7d0aed114ef 7157429 gzip 1.4 integration still has a couple of problems
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
 Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc.