[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4406: 23.1; eshell quoting problem with -exec rm {} \;

From: Xah Lee
Subject: bug#4406: 23.1; eshell quoting problem with -exec rm {} \;
Date: Fri, 11 Sep 2009 11:59:30 -0700

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 bit at gnu.emacs.help here

∑ http://xahlee.org/

reply via email to

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