[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6665: rgrep does not work on Windows
From: |
Andreas Schwab |
Subject: |
bug#6665: rgrep does not work on Windows |
Date: |
Wed, 17 Nov 2010 14:09:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
"Colin Fraizer" <colin@cfraizer.com> 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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."