On 12/14/14 4:19 PM, Stephane Chazelas wrote:
> Yes I don't know what Mint (Ubuntu?) did, but it's a bit broken
> see also:
>
> $ bash -c 'f() { declare a[1]=foo; declare -p a; }; a[0]=x; f; declare -p a'
> bash: line 0: declare: a: not found
> declare -a a='([0]="x")'
>
> (sorry about the confusion there).
It might have been changed by a subsequent patch, but I can't see any
obvious candidates.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/