On 12/19/14 5:10 PM, Jonathan Hankins wrote:
> I wanted to verify that this behavior is intended, as I can't find it
> described in the manual.
>
> $ echo $BASH_VERSION
> 4.3.30(1)-release
> $ foo=bar
> $ echo $foo
> bar
> $ bar=123
> $ echo $bar
> 123
> $ typeset -n foo
> $ echo $foo
> 123
> $ e
I wanted to verify that this behavior is intended, as I can't find it
described in the manual.
$ echo $BASH_VERSION
4.3.30(1)-release
$ foo=bar
$ echo $foo
bar
$ bar=123
$ echo $bar
123
$ typeset -n foo
$ echo $foo
123
$ echo ${!foo}# this is what I want to verify
bar
Is using ${!foo} int