Le 26/11/2013 14:59, dnade@orange.com 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'
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
D
--
Damien Nadé
Astek Sud-Est pour France Télécom - Orange/OF/DSIF/DFY/SFY/DO
Sophia Antipolis - France / Tel : 04 97 46 28 74
> -M
On 11/21/13, 1:03 PM, NBaH wrote:
> Bash Version: 4.3
> Patch Level: 0
> Release Status: beta2
>
> Description:
> associative indexes don't appear when assigned by ``printf -v''
Thanks for the report. This will be fixed in bash-4.3.
Chet
--
``The lyf so short, the craft so long to lerne.'' -