[27523] in Athena Bugs
Debathena: emacs
daemon@ATHENA.MIT.EDU (boojum@mit.edu)
Wed Jan 12 11:51:28 2011
Date: Wed, 12 Jan 2011 11:51:25 -0500 (EST)
From: boojum@mit.edu
Message-Id: <201101121651.p0CGpPAm009464@outgoing.mit.edu>
To: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
System name: ten-thousand-dollar-bill
Type: x86_64
Display type: VMware SVGA II Adapter
Shell: /bin/athena/tcsh (?)
Window manager: unknown
What were you trying to do?
M-x find-grep-dired to grep through files
What's wrong:
It appears to have ggrep hard coded in as the grep of choice,
but can't find it. The grep output looks like:
/tmp/:
find . \( ! -type d -exec ggrep -q lkj {} \; \) -exec ls -ld \{\} \;
find: `ggrep': No such file or directory
find: `ggrep': No such file or directory
...
What should have happened:
It should have grepped, either by using a version of grep on the
machine, or grabbing one from somewhere else in AFS, I suppose.
Please describe any relevant documentation references:
HELP buffer (hey, it says "grep" in the command here, not "ggrep")
find-grep-dired is an interactive compiled Lisp function.
(find-grep-dired DIR REGEXP)
Find files in DIR containing a regexp REGEXP and start Dired on output.
The command run (after changing into DIR) is
find . -exec grep -s -e REGEXP {} \; -ls
Thus ARG can also contain additional grep options.