bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash 4.3 and 4.2 trouble with associative arrays assigned by ``print


From: NBaH
Subject: Re: bash 4.3 and 4.2 trouble with associative arrays assigned by ``printf -v''
Date: Wed, 27 Nov 2013 03:30:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

Le 26/11/2013 14:59, address@hidden a écrit :> For the record, in bash 4.2.25 (Ubuntu LTS 12.04) you can work around your issue with :
>
> printf -v "aa["ind2"]" %s ""
>
> or
>
> printf -v "aa["ind2"]" %s
>

hi,

right!
as I had to deal with variables expanding to things like '\x3C', '%s' didn't work.
I tried '%b', and now I can see empty values.

thank you.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]