X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=blobdiff_plain;f=wcgrep;h=92311f3eddcbab10e374d52ae64a6f4a2e160d0c;hp=2f19476cc46f7d133b12c5fa0b9235bf080ce449;hb=8dabab27b9384f2587eee2cdeb3c35644dd7bc36;hpb=16912172c0c8970e3b2de5829aaea54daf9b03e4 diff --git a/wcgrep b/wcgrep index 2f19476..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\}\|\.bzr\)\(/\|$\)'} -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"