On Wed, Sep 28, 2011 at 10:25:48PM +0000, Thomas Nikolajsen (via DragonFly issue tracker) wrote: > New zgrep isn't perfect: doesn't support -r (or -d ACTION), > -iv (only -i -v) or multiple -e PATTERN, > but this should be easy to fix.
Hmm, you can use find command to mimic -r or -d behavior and getopt(s) to cope with -iv. Do you have a good idea to do a proper quoting for -e options passed to grep, for instance, zgrep -e 'foo bar' -e '".*"' ? > PS: Your patch has a few files TO_REMOVE which aren't related to zgrep TO_REMOVE lines for z{,e,f}grep and their manpages should be removed otherwise you're going to remove them when you do `make upgrade', or are we talking about something else? Cheers.