Re: [issue2120] zgrep command missing on leaf

看板DFBSD_bugs作者時間14年前 (2011/10/22 18:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/11 (看更多)
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.
文章代碼(AID): #1EefIkD8 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #1EefIkD8 (DFBSD_bugs)