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

Re: is variable with variable name possible?



Hi,

2011/4/4 zzapper <david@xxxxxxxxxx>:
> somevar=$(pwd)
>
> but I want somevar to be a variable name

$ eval "$somevar=$(pwd)"

Best regards,

-- 
Jérémie



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