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

simple substitution?



Hi,
I'm trying to understand expansion end substitution and I'm lost in
what should be a simple substitution. Here my example

>foo=4
>echo ${foo}
4
>FO=fo
>O=o
>echo \${${FO}${O}}
${foo}

while I was expecting '4'. What am I missing?
Thanks




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