From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Xah Lee" Newsgroups: gmane.emacs.bugs Subject: bug#4406: 23.1; eshell quoting problem with -exec rm {} \; Date: Fri, 11 Sep 2009 11:59:30 -0700 Message-ID: <0EEFFB65F49D4108BD6FC768CEEBE175@xahPC> Reply-To: Xah Lee , 4406@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1252738106 11065 80.91.229.12 (12 Sep 2009 06:48:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 06:48:26 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 12 08:48:19 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 1MmMPC-0000Dk-QO for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 08:48:19 +0200 Original-Received: from localhost ([127.0.0.1]:56207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmMPC-0007T1-8G for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 02:48:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmBSe-00052a-2q for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 15:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmBSZ-00051E-76 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 15:07:07 -0400 Original-Received: from [199.232.76.173] (port=55868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmBSY-00050x-Q3 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 15:07:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45606) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MmBSY-00048n-66 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 15:07:02 -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 n8BJ6x6H007745; Fri, 11 Sep 2009 12:06:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8BJ58J7007273; Fri, 11 Sep 2009 12:05:08 -0700 Resent-Date: Fri, 11 Sep 2009 12:05:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Xah Lee" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 11 Sep 2009 19:05:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4406 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12526955905757 (code B ref -1); Fri, 11 Sep 2009 19:05:08 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 11 Sep 2009 18:59:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8BIxmsP005753 for ; Fri, 11 Sep 2009 11:59:49 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmBLY-0000eY-8g for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 14:59:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmBLX-0000d8-LB for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 14:59:47 -0400 Original-Received: from [199.232.76.173] (port=55638 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmBLX-0000cq-G2 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 14:59:47 -0400 Original-Received: from mout.perfora.net ([74.208.4.195]:59876) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MmBLW-000390-Uy for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2009 14:59:47 -0400 Original-Received: from xahPC (c-76-102-12-87.hsd1.ca.comcast.net [76.102.12.87]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1MmBLN02SR-000OPT; Fri, 11 Sep 2009 14:59:38 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005 X-Provags-ID: V01U2FsdGVkX1/JlrGHb1ZeWlA5wHW5Fewh6G1NHFiHKcQhsdW QCnvIQOQArTVrW/bkzWGoHTYpn2qgFhgNn7IwIXGCUxjd2spqT B8+opkS8qu/D0cTq8EBQQ== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n8BJ6x6H007745 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 11 Sep 2009 15:07:07 -0400 X-Mailman-Approved-At: Sat, 12 Sep 2009 02:48:13 -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:31001 Archived-At: this is probably a bug. when running eshell in Windows, i do 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. (Pascal J Bourguignon gave the correct solution. This issue is discussed = a=20 bit at gnu.emacs.help here http://groups.google.com/group/gnu.emacs.help/browse_frm/thread/46eb4e95f= cbc1fb9? ) Xah =E2=88=91 http://xahlee.org/ =E2=98=84=20