Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: expanding escape sequences



> 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@xxxxxxx>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author