unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: Re: eshell: find: missing argument to `-exec' ?
Date: Fri, 11 Sep 2009 12:23:35 +0000 (UTC)	[thread overview]
Message-ID: <h8dfg7$ldm$1@colin2.muc.de> (raw)
In-Reply-To: 123f4568-dd1d-450d-81e2-bea9dbd85b69@x5g2000prf.googlegroups.com

Hi, Xah,

Xah Lee <xahlee@gmail.com> wrote:
> when running eshell in Windows, i do

> c:\Users\xah\web\xxst\make_download_copy>find -name "*el" -exec rm {}
> \;
> find -name "*el" -exec rm {} \;
> find: missing argument to `-exec'

> why is it missing argument?

At a guess, you need to quote the {}, like this:

    find -name "*el" -exec rm \{} \;
                              ^

> Thanks.

>  Xah

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2009-09-11 12:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-11  7:59 eshell: find: missing argument to `-exec' ? Xah Lee
2009-09-11 12:23 ` Alan Mackenzie [this message]
2009-09-11 12:43   ` Pascal J. Bourguignon
2009-09-11 14:57     ` Eli Zaretskii
     [not found]     ` <mailman.6446.1252681177.2239.help-gnu-emacs@gnu.org>
2009-09-11 18:45       ` Xah Lee
2009-09-11 18:53         ` Xah Lee
2009-09-12  8:27           ` Eli Zaretskii
     [not found]           ` <mailman.6507.1252744061.2239.help-gnu-emacs@gnu.org>
2009-09-12 17:10             ` Xah Lee
2009-09-14  9:35       ` Pascal J. Bourguignon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h8dfg7$ldm$1@colin2.muc.de' \
    --to=acm@muc.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).