Re: [bsdgrep] --exclude-dir doesn't work

2011-08-11 Thread Gabor Kovesdan
Em 2011.08.09. 14:43, Test Rat escreveu: It seems fnmatch(3) args were accidentally swapped. Try $ bsdgrep -Fr --exclude-dir '*.svn*' grep_ usr.bin/grep | bsdgrep -c svn 72 Thanks! I'll commit this, too. Gabor ___ freebsd-current@freebsd.org

Re: [bsdgrep] --exclude-dir doesn't work

2011-08-10 Thread Test Rat
Test Rat ttse...@gmail.com writes: It seems fnmatch(3) args were accidentally swapped. Try $ bsdgrep -Fr --exclude-dir '*.svn*' grep_ usr.bin/grep | bsdgrep -c svn 72 And it should probably use FTS_SKIP to save time like textproc/gnugrep. # turn off caching before testing $ zfs set

[bsdgrep] --exclude-dir doesn't work

2011-08-09 Thread Test Rat
It seems fnmatch(3) args were accidentally swapped. Try $ bsdgrep -Fr --exclude-dir '*.svn*' grep_ usr.bin/grep | bsdgrep -c svn 72 %% Index: usr.bin/grep/util.c === --- usr.bin/grep/util.c (revision 224705) +++