Re: Regression in development version of bash w.r.t. associative hashes

2013-05-06 Thread Stefano Lattarini
On 05/06/2013 10:00 PM, Chet Ramey wrote: > On 5/3/13 5:48 AM, Stefano Lattarini wrote: >> [+cc bug-gnulib, see below for a reason] >> >> Minimal reproducer of the regression: >> >> $ cat foo.bash >> echo "$BASH_VERSION" >> declare -A hash >> echo ${hash[a/b]} >> echo $? >> >> $ /bin/ba

Re: Regression in development version of bash w.r.t. associative hashes

2013-05-06 Thread Chet Ramey
On 5/3/13 5:48 AM, Stefano Lattarini wrote: > [+cc bug-gnulib, see below for a reason] > > Minimal reproducer of the regression: > > $ cat foo.bash > echo "$BASH_VERSION" > declare -A hash > echo ${hash[a/b]} > echo $? > > $ /bin/bash foo.bash > 4.2.45(1)-release > > 0 > > $

Regression in development version of bash w.r.t. associative hashes

2013-05-03 Thread Stefano Lattarini
[+cc bug-gnulib, see below for a reason] Minimal reproducer of the regression: $ cat foo.bash echo "$BASH_VERSION" declare -A hash echo ${hash[a/b]} echo $? $ /bin/bash foo.bash 4.2.45(1)-release 0 $ ~/bleeding/bin/bash foo.bash 4.3.0(1)-alpha foo.bash: line 3: a/b: divis