help-gnu-emacs
[Top][All Lists]
Advanced

[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__


reply via email to

[Prev in Thread] Current Thread [Next in Thread]