help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eshell & find


From: John Wiegley
Subject: Re: eshell & find
Date: Thu, 06 Mar 2003 14:21:32 -0700
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (i686-pc-linux-gnu)

Peter Lee <pete_lee/remove-for-email/@swbell.net> writes:

> After more experimentation I tried the following:
>
> find . -iregex ".*\\.cpp\\|.*\\.h"
>
> And that works as expected from eshell... So why do I need to
> backlashes to escape from eshell but not a normal shell?

Because Eshell is basically passing your string on to Lisp, which
needs the double-backslashing.  It's the same behavior expected by
bash.  In this case, cmd.exe is the oddball.

John


reply via email to

[Prev in Thread] Current Thread [Next in Thread]