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
On 12/20/14 11:58 AM, Aharon Robbins wrote:
> In article ,
> Chet Ramey wrote:
>> 3. There's not actually a lot of demand to make it available, and few
>> implementations go through the pain (even the standalone GNU printf).
>> The only one I found after a quick non-exhaustive search is the k
In article ,
Chet Ramey wrote:
>3. There's not actually a lot of demand to make it available, and few
> implementations go through the pain (even the standalone GNU printf).
> The only one I found after a quick non-exhaustive search is the ksh93
> builtin, which doesn't use the libc printf
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