emacs-devel
[Top][All Lists]
Advanced

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

Re: info inconsistency about "Shell Commands in Dired"


From: Masatake YAMATO
Subject: Re: info inconsistency about "Shell Commands in Dired"
Date: Sun, 22 Aug 2004 21:33:34 +0900 (JST)

> > How do you think using `format' function directly instead of `?' ?
> > 
> > e.g.
> > 
> >     uuencode %s %s > %s.uu
> > 
> > Advantage:
> > - If the user want to `%' itself in the command line, format function
> >   can handle it:
> > 
> >       echo %%s
> > 
> > - Implementation is not so difficult(for us).
> 
> Not?  How do you call the format function?  Depends on the number of
> %s...

Good point.
I found next code works.

    (apply 'format "echo %s" '("a" "a" "a"))
    => "echo a"

So we can pass arguments as much as possible:-P.




reply via email to

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