From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4406: 23.1; eshell quoting problem with -exec rm {} \; Date: Sat, 12 Sep 2009 11:30:39 +0300 Message-ID: <8363bo1s5s.fsf@gnu.org> References: <0EEFFB65F49D4108BD6FC768CEEBE175@xahPC> Reply-To: Eli Zaretskii , 4406@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1252764293 7670 80.91.229.12 (12 Sep 2009 14:04:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 14:04:53 +0000 (UTC) To: Xah Lee , 4406@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 12 16:04:46 2009 Return-path: Envelope-to: geb-bug-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 1MmTDP-00034C-Uz for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 16:04:36 +0200 Original-Received: from localhost ([127.0.0.1]:49268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmTDP-0000Fu-D0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 10:04:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmTDH-00008o-J9 for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 10:04:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmTDC-0008OF-2l for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 10:04:26 -0400 Original-Received: from [199.232.76.173] (port=44146 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmTDB-0008Ne-Rf for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 10:04:21 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:19722) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MmTDA-0004Pu-Vf for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 10:04:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MmOHv-0006LX-Ig for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 04:48:55 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8C8kx2Y022576; Sat, 12 Sep 2009 01:46:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8C8Z61R020555; Sat, 12 Sep 2009 01:35:06 -0700 Resent-Date: Sat, 12 Sep 2009 01:35:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 12 Sep 2009 08:35:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4406 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4406-submit@emacsbugs.donarmstrong.com id=B4406.125274424720017 (code B ref 4406); Sat, 12 Sep 2009 08:35:06 +0000 Original-Received: (at 4406) by emacsbugs.donarmstrong.com; 12 Sep 2009 08:30:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout3.012.net.il (mtaout4.012.net.il [84.95.2.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8C8Uj0I019998 for <4406@emacsbugs.donarmstrong.com>; Sat, 12 Sep 2009 01:30:47 -0700 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KPU00J00N9N1O00@i_mtaout3.012.net.il> for 4406@emacsbugs.donarmstrong.com; Sat, 12 Sep 2009 11:30:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.50.163]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KPU00336NN2XE40@i_mtaout3.012.net.il>; Sat, 12 Sep 2009 11:30:39 +0300 (IDT) In-reply-to: <0EEFFB65F49D4108BD6FC768CEEBE175@xahPC> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Sat, 12 Sep 2009 10:04:26 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31011 Archived-At: > From: "Xah Lee" > Date: Fri, 11 Sep 2009 11:59:30 -0700 > Cc: > > c:\Users\xah\web>find -name "*el" -exec rm {} \; > find -name "*el" -exec rm {} \; > find: missing argument to `-exec' > > it turns out, one needs to quote the ending semicolon. > > This does not work: > find -name "*el" -exec rm {} \\; > > This works: > find -name "*el" -exec rm {} ';' > > It appears to me, this seems to be a bug, since > -exec rm {} \; > is a standard idiom in bash, and no reason that shouldn't work. Eshell is not Bash, and on Windows, it treats the backslash as a directory separator (unlike Bash). So I think this is not a bug, just a platform-specific behavior that needs to be learned.