X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=blobdiff_plain;f=wcgrep;h=92311f3eddcbab10e374d52ae64a6f4a2e160d0c;hp=a68ad3755fce9969fb5dc669daa32c2cca445b07;hb=d2464a0fc4345255c35e7d5379edaa6806e7e93b;hpb=5192a68d0763d0a50736ea611f070c4f71f0b1d7 diff --git a/wcgrep b/wcgrep index a68ad37..92311f3 100755 --- a/wcgrep +++ b/wcgrep @@ -54,6 +54,6 @@ for (( i=1; i <= $arg_count; i++ )); do fi done -find $pathargs -regex ${WCGREP_IGNORE:-'.*~$\|.*/\(\.svn\|\{arch\}\)\(/\|$\)'} -prune -o \ +find $pathargs -regex ${WCGREP_IGNORE:-'.*~$\|.*/\(\.svn\|\{arch\}\|\.bzr\|\.git\)\(/\|$\)'} -prune -o \ -type f -print0 | xargs -r0 ${WCGREP_GREP:-grep} ${WCGREP_GREPARGS:--HnI} \ $grepargs "$pattern"