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

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

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


From: Eli Zaretskii
Subject: bug#4406: 23.1; eshell quoting problem with -exec rm {} \;
Date: Sat, 12 Sep 2009 11:30:39 +0300

> From: "Xah Lee" <address@hidden>
> Date: Fri, 11 Sep 2009 11:59:30 -0700
> Cc: 
> 
> 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.

Eshell is not Bash, and on Windows, it treats the backslash as a
directory separator (unlike Bash).

So I think this is not a bug, just a platform-specific behavior that
needs to be learned.





reply via email to

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