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

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

Re: dired-do-shell-command: cannot escape the *


From: David Kastrup
Subject: Re: dired-do-shell-command: cannot escape the *
Date: 28 Dec 2001 19:51:44 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

address@hidden (David Masterson) writes:

> >>>>> Richard Stallman writes:
> 
> >> What's wrong with having dired-do-shell-command ignore the * if it
> >> is escaped with a backslash?
> 
> > Then people have to wonder about what to do if they want to put
> > backslash-* into the shell command.  In other words, this isn't as
> > simple in practice as it sounds.
> 
> Hmmm.  I suppose you could escape the backslash?  

Problem with that is that you would need to double every backslash
passed into the shell.  Since the shell itself interprests backslash
for escapes (most shells, not all), this would seriously unshellize
the syntax of stuff you write as a command.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: address@hidden



reply via email to

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