unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Is it possible to run rgrep in emacs on Win32?
@ 2012-04-12  9:21 Steinar Bang
  2012-04-12  8:39 ` Tassilo Horn
  2012-04-12  9:29 ` Eli Zaretskii
  0 siblings, 2 replies; 17+ messages in thread
From: Steinar Bang @ 2012-04-12  9:21 UTC (permalink / raw)
  To: help-gnu-emacs

Platform: emacs 23.2.1,
          GnuWin32 FindUtils 4.2.20-2
          GnuWin32 Grep-2.5.4

Does anyone know of a way to make the emacs rgrep command work on
windows?

I'm trying to run `M-x rgrep RET' on a windows emacs.  I have installed
find and grep from GnuWin32 ( http://gnuwin32.sourceforge.net/ ) and put
them early in the PATH.

When I try to run rgrep it exits with no match, and in the *grep* I see
the following error message:
 C:\ProgramFiles\GnuWin32\bin\find: invalid expression; I was expecting to find a ')' somewhere but did not see one.

The command line is:
C:\ProgramFiles\GnuWin32\bin\find . "(" -path "*/SCCS" -o -path "*/RCS" -o -path "*/CVS" -o -path "*/MCVS" -o -path "*/.svn" -o -path "*/.git" -o -path "*/.hg" -o -path "*/.bzr" -o -path "*/_MTN" -o -path "*/_darcs" -o -path "*/{arch}" ")" -prune -o "(" -name ".#*" -o -name "*.o" -o -name "*~" -o -name "*.bin" -o -name "*.bak" -o -name "*.obj" -o -name "*.map" -o -name "*.ico" -o -name "*.pif" -o -name "*.lnk" -o -name "*.a" -o -name "*.ln" -o -name "*.blg" -o -name "*.bbl" -o -name "*.dll" -o -name "*.drv" -o -name "*.vxd" -o -name "*.386" -o -name "*.elc" -o -name "*.lof" -o -name "*.glo" -o -name "*.idx" -o -name "*.lot" -o -name "*.fmt" -o -name "*.tfm" -o -name "*.class" -o -name "*.fas" -o -name "*.lib" -o -name "*.mem" -o -name "*.x86f" -o -name "*.sparcf" -o -name "*.fasl" -o -name "*.ufsl" -o -name "*.fsl" -o -name "*.dxl" -o -name "*.pfsl" -o -name "*.dfsl" -o -name "*.p64fsl" -o -name "*.d64fsl" -o -name "*.dx64fsl" -o -name "*.lo" -o -name "*.la" -o -name "*.gmo" -o -name "*.mo" -o -name "*.toc" -o -name "*.aux" -o -name "*.cp" -o -name "*.fn" -o -name "*.ky" -o -name "*.pg" -o -name "*.tp" -o -name "*.vr" -o -name "*.cps" -o -name "*.fns" -o -name "*.kys" -o -name "*.pgs" -o -name "*.tps" -o -name "*.vrs" -o -name "*.pyc" -o -name "*.pyo" ")" -prune -o  -type f "(" -iname "*.csproj" ")" -print0 | xargs -0 -e grep -i -nH -e "searchterm"

Parantheses seems to be balanced...?  I haven't installed xargs, I
think... unless that's part of FindUtils...?



^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <mailman.1131.1334218896.20052.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2012-04-17  5:47 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-12  9:21 Is it possible to run rgrep in emacs on Win32? Steinar Bang
2012-04-12  8:39 ` Tassilo Horn
2012-04-12  9:29 ` Eli Zaretskii
2012-04-12  9:37   ` Evgeniy Dolzhenko
2012-04-12 10:06   ` Stefan Vollmar
2012-04-12 10:07   ` Thierry Volpiatto
2012-04-12 15:26   ` Steinar Bang
2012-04-12 14:13     ` Eli Zaretskii
2012-04-13 11:34     ` Steinar Bang
2012-04-13 12:12       ` Eli Zaretskii
2012-04-13 13:02         ` Evgeniy Dolzhenko
2012-04-13 17:42           ` Eli Zaretskii
2012-04-14 15:14           ` Stefan Vollmar
2012-04-14  8:03         ` Steinar Bang
2012-04-14  9:04           ` Eli Zaretskii
2012-04-16 13:26             ` Ludwig, Mark
     [not found] <mailman.1131.1334218896.20052.help-gnu-emacs@gnu.org>
2012-04-17  5:47 ` winterTTr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).