Subject: Re: bug#6665: rgrep does not work on Windows

From: Andreas Schwab <[email-masked]>
Date: Wed, 17 Nov 2010 14:09:33 +0100

"Colin Fraizer" <[email-masked]> writes:

> find . "(" -path "*/SCCS" [...] ")" -prune -o "(" -name ".#*" [...] ")"
> -prune -o -type f "(" -iname "*.el" ")" -exec grep -nH "mystring" {} ";"
>
> That second "-prune" is really bogus.  It is supposed to mean "don't descend
> into
> the matched file as a directory", but it's not matching directories.
> It is matching regular filenames.

It can match directories as well, just like the first expression can
match non-directories.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."