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

Re: Variable with Variable Name



Stephane Chazelas <Stephane_Chazelas@xxxxxxxx> wrote in 
news:20070913173058.GC5335@xxxxxxxxxxxxxxx:

> SSS() {
>   eval "$1=\$PWD"
>   eval "printf '%s\n' \"$1=\$$1\""
> }
> 
Thanks JWTDO

-- 
zzapper
http://www.rayninfo.co.uk/vimtips.html



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