From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: eshell: find: missing argument to `-exec' ? Date: Fri, 11 Sep 2009 17:57:28 +0300 Message-ID: <83k5051qcn.fsf@gnu.org> References: <123f4568-dd1d-450d-81e2-bea9dbd85b69@x5g2000prf.googlegroups.com> <7cbplhodme.fsf@anevia.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1252681449 1063 80.91.229.12 (11 Sep 2009 15:04:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2009 15:04:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 11 17:04:01 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mm7fH-0001iw-L6 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Sep 2009 17:03:55 +0200 Original-Received: from localhost ([127.0.0.1]:43518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm7fH-00071t-60 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Sep 2009 11:03:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mm7b5-0004Ir-D8 for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 10:59:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mm7b3-0004IO-2s for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 10:59:34 -0400 Original-Received: from [199.232.76.173] (port=48098 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm7b2-0004IL-VK for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 10:59:32 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:19260) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mm7b2-0001f3-DH for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 10:59:32 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KPT00E00ASDFT00@i_mtaout3.012.net.il> for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 17:59:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.50.163]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KPT00N0NAYV2Y90@i_mtaout3.012.net.il> for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 17:59:20 +0300 (IDT) In-reply-to: <7cbplhodme.fsf@anevia.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68053 Archived-At: > From: pjb@informatimago.com (Pascal J. Bourguignon) > Date: Fri, 11 Sep 2009 14:43:53 +0200 > > > At a guess, you need to quote the {}, like this: > > > > find -name "*el" -exec rm \{} \; > > find gives this error when it doesn't see the ';' argument. > I know of no shell where {} needs to be escaped or quoted. > > eshell seems to have difficulties with backslash escapes on > MS-Windows. Then we could use quotes instead: > > find -name "*el" -exec rm {} ';' The {} needs to be quoted as well.