2012-03-14 13:48:25 -0600, Bill Gradwohl:
> If one level of indirection is ${!xxx}, how does one code 2 levels without
> using an intermediate variable?
>
> Is it even possible?
>
> I've tried and get nothing but bad substitution messages.
>
> It's the syntax that's got me stumped.
[...]
Contrary to zsh, bash (and ksh) doesn't have a consistent syntax
for nesting expansion operators.
In zsh:
~$ a=b b=c c=d
~$ echo ${(P)a}
c
~$ echo ${(P)${(P)a}}
d
--
Stephane