[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eshell & find
From: |
Peter Lee |
Subject: |
Re: eshell & find |
Date: |
Thu, 06 Mar 2003 21:04:33 GMT |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 |
Peter Lee <pete_lee/remove-for-email/@swbell.net> writes:
> The following works fine from both eshell and shell (with shell for me
> being cmd.exe for xp):
>
> find . -iregex ".*\.cpp"
>
>
> However, the following works only with shell and *not* with
> eshell... eshell simply returns.
>
> find . -iregex ".*\.cpp\|.*\.h"
>
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?
- eshell & find, Peter Lee, 2003/03/06
- Re: eshell & find,
Peter Lee <=