[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://groups.google.com/group/gnu.emacs.help/browse_frm/thread/46eb4e95fcbc1fb9?
)
Xah
∑ http://xahlee.org/
☄
- bug#4406: 23.1; eshell quoting problem with -exec rm {} \;,
Xah Lee <=