* my latest dired * wildcard accident
@ 2002-08-12 21:54 Dan Jacobson
0 siblings, 0 replies; only message in thread
From: Dan Jacobson @ 2002-08-12 21:54 UTC (permalink / raw)
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")))
revealing
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-12 21:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-12 21:54 my latest dired * wildcard accident Dan Jacobson
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).