Re: bash 4.3 and 4.2 trouble with associative arrays assigned by ``printf -v''

2013-11-26 Thread NBaH
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'

RE: bash 4.3 and 4.2 trouble with associative arrays assigned by ``printf -v''

2013-11-26 Thread dnade.ext
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

Re: bash 4.3 and 4.2 trouble with associative arrays assigned by ``printf -v''

2013-11-24 Thread Chet Ramey
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.'' -