[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eshell: find: missing argument to `-exec' ?
From: |
Pascal J. Bourguignon |
Subject: |
Re: eshell: find: missing argument to `-exec' ? |
Date: |
Mon, 14 Sep 2009 11:35:24 +0200 |
User-agent: |
Gnus/5.101 (Gnus v5.10.10) Emacs/22.2 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> 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.
Not with bash in eshell on unix. Perhaps it's needed specifically on
MS-Windows?
--
__Pascal Bourguignon__
- eshell: find: missing argument to `-exec' ?, Xah Lee, 2009/09/11
- Re: eshell: find: missing argument to `-exec' ?, Alan Mackenzie, 2009/09/11
- Re: eshell: find: missing argument to `-exec' ?, Pascal J. Bourguignon, 2009/09/11
- Re: eshell: find: missing argument to `-exec' ?, Eli Zaretskii, 2009/09/11
- Message not available
- Re: eshell: find: missing argument to `-exec' ?, Xah Lee, 2009/09/12
- Re: eshell: find: missing argument to `-exec' ?, Xah Lee, 2009/09/12
- Re: eshell: find: missing argument to `-exec' ?, Eli Zaretskii, 2009/09/12
- Message not available
- Re: eshell: find: missing argument to `-exec' ?, Xah Lee, 2009/09/13
Message not available
- Message not available
- Re: eshell: find: missing argument to `-exec' ?,
Pascal J. Bourguignon <=