From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Lee Newsgroups: gmane.emacs.help Subject: Re: eshell & find Date: Thu, 06 Mar 2003 21:04:33 GMT Organization: Prodigy Internet http://www.prodigy.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046984820 31946 80.91.224.249 (6 Mar 2003 21:07:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2003 21:07:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 06 22:06:58 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18r2Zu-0008Ip-00 for ; Thu, 06 Mar 2003 22:06:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18r2Z2-0001Hd-09 for gnu-help-gnu-emacs@m.gmane.org; Thu, 06 Mar 2003 16:06:04 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!c03.atl99!rip!news.webusenet.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr30.news.prodigy.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Original-NNTP-Posting-Host: 216.62.199.3 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr30.news.prodigy.com 1046984673 ST000 216.62.199.3 (Thu, 06 Mar 2003 16:04:33 EST) Original-NNTP-Posting-Date: Thu, 06 Mar 2003 16:04:33 EST X-UserInfo1: Q[R_PJSCO@RYB\\YQCHN_TTDFRYB@GXLN@GZ_GYO^RR@ETUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM Original-Xref: shelby.stanford.edu gnu.emacs.help:110893 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7394 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7394 Peter Lee 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?