* expanding escape sequences
@ 2001-03-26 17:30 Adam Spiers
2001-03-26 17:38 ` Peter Stephenson
0 siblings, 1 reply; 2+ messages in thread
From: Adam Spiers @ 2001-03-26 17:30 UTC (permalink / raw)
To: zsh users mailing list
I want to expand an escape sequence inside a parameter. Is it
possible to avoid this subshell:
foo=$(print "\e[A\r")
?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: expanding escape sequences
2001-03-26 17:30 expanding escape sequences Adam Spiers
@ 2001-03-26 17:38 ` Peter Stephenson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2001-03-26 17:38 UTC (permalink / raw)
To: Zsh users list
> I want to expand an escape sequence inside a parameter. Is it
> possible to avoid this subshell:
>
> foo=$(print "\e[A\r")
foo=$'\e[A\r'
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-26 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-26 17:30 expanding escape sequences Adam Spiers
2001-03-26 17:38 ` Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).