summaryrefslogtreecommitdiff
path: root/debian/patches/pcregrep.1-patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/pcregrep.1-patch')
-rw-r--r--debian/patches/pcregrep.1-patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/pcregrep.1-patch b/debian/patches/pcregrep.1-patch
new file mode 100644
index 0000000..e7328be
--- /dev/null
+++ b/debian/patches/pcregrep.1-patch
@@ -0,0 +1,26 @@
+From: Mark Baker <mark@mnb.org.uk>
+Description: Mention zpcregrep wrapper script in pcregrep man page.
+
+
+Index: pcre-8.30/doc/pcregrep.1
+===================================================================
+--- pcre-8.30.orig/doc/pcregrep.1 2011-09-11 16:28:04.000000000 +0200
++++ pcre-8.30/doc/pcregrep.1 2012-03-23 11:05:02.276360705 +0100
+@@ -3,6 +3,7 @@
+ pcregrep - a grep with Perl-compatible regular expressions.
+ .SH SYNOPSIS
+ .B pcregrep [options] [long options] [pattern] [path1 path2 ...]
++.B zpcregrep [options] [long options] [pattern] [file1 file2 ...]
+ .
+ .SH DESCRIPTION
+ .rs
+@@ -82,6 +83,9 @@
+ If the \fBLC_ALL\fP or \fBLC_CTYPE\fP environment variable is set,
+ \fBpcregrep\fP uses the value to set a locale when calling the PCRE library.
+ The \fB--locale\fP option can be used to override this.
++.P
++\fBzpcregrep\fR is a wrapper script that allows pcregrep to work on
++gzip compressed files.
+ .
+ .
+ .SH "SUPPORT FOR COMPRESSED FILES"