DragonFly BSD
DragonFly bugs List (threaded) for 2011-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue2120] zgrep command missing on leaf


From: YONETANI Tomokazu <y0n3t4n1@xxxxxxxxx>
Date: Thu, 29 Sep 2011 10:49:04 +0900

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.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]