[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wed, 12 Jun 2013 11:46:23 -0700
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6
[zgrep is part of the gzip package, not of grep proper,
so I'm replying to bug-gzip as well.]
Thanks for that bug report. The zgrep usage message is
wrong. I installed the following patch to the grep package
to try to fix this.
It would be better to add support for these options to zgrep;
if someone wants to contribute a fix along those lines,
that'd be nice.
>From f96c3e2945116e377d4a83b841201ce67beac6cd Mon Sep 17 00:00:00 2001
From: Paul Eggert <address@hidden>
Date: Wed, 12 Jun 2013 11:42:34 -0700
Subject: [PATCH] zgrep: usage should say which grep options are not supported
* zgrep.in (usage): Document which grep options are not supported.
Problem reported by Liron Paryente in
zgrep.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/zgrep.in b/zgrep.in
index 154d17f..c149577 100644
@@ -42,7 +42,10 @@ usage="Usage: $0 [OPTION]... [-e] PATTERN [FILE]...
Look for instances of PATTERN in the input FILEs, using their
uncompressed contents if they are compressed.
-OPTIONs are the same as for 'grep'.
+OPTIONs are the same as for 'grep', except that the following 'grep'
+options are not supported: --dereference-recursive (-R), --directories (-d),
+--exclude, --exclude-from, --exclude-dir, --include, --null (-Z),
+--null-data (-z), and --recursive (-r).
Report bugs to <address@hidden>."
- question, Paryente, Liron, 2013/06/12
- Re: question,
Paul Eggert <=