GNU bug report logs - #6665
24.0.50; rgrep does not work on Windows

Previous Next

Package: emacs;

Reported by: Christoph <cschol2112 <at> googlemail.com>

Date: Sun, 18 Jul 2010 14:33:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: "Colin Fraizer" <colin <at> cfraizer.com>
Cc: 6665 <at> debbugs.gnu.org
Subject: bug#6665: rgrep does not work on Windows
Date: Wed, 17 Nov 2010 14:09:33 +0100
"Colin Fraizer" <colin <at> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 14 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.