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

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

RE: substitute with emacsclient -e experssion


From: Herbert Euler
Subject: RE: substitute with emacsclient -e experssion
Date: Fri, 13 Jun 2008 13:41:14 +0800

> Is it possible make substitute work like: 
>    emacsclient -e '(foo "`basename ${url}`")'?
> 
> or similar one to convert:
>    `basename ${url}` --> URL
>    emacsclient -e '(foo "`basename ${url}`")'? --> macsclient -e '(foo
> "URL")'

Yes, it is possible.  But you need double quotes instead of single
quotes, as defined by the Shell syntax:

  $ emacsclient -e "(foo \"`basename ${url}`\")"

Regards,
Guanpeng Xu
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE




reply via email to

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