[Top][All Lists]

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

my latest dired * wildcard accident

From: Dan Jacobson
Subject: my latest dired * wildcard accident
Date: 13 Aug 2002 05:54:43 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Just wanted to note that I was very befuddled by the weird output from
(dired-do-shell-command "sed 's/.*GET//' *" nil (quote ("al")))
the sed command had no effect

(dired-do-shell-command "sed 's/.*GET//'" nil (quote ("al")))
no output

until I did
(dired-do-shell-command "echo sed 's/.*GET//' *" nil (quote ("al")))
sed s/.alGET// al

so what I'm saying is that that "*" is gonna trip people up and should
be changed to $* or $1 or something less likely to get mistakenly
used.  Or at least it should be so configurable.
http://jidanni.org/ Taiwan(04)25854780

reply via email to

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