On 2/15/16 8:57 AM, Pontus Stenström wrote:
> Bash Version: 4.2
> Patch Level: 24
> Release Status: release
>
> Description:
> Comma expression in arithmetic evaluation referring to arrays make bash
> crash.
>
> Repeat-By:
> This works fine:
> ((c=3, d=4))
> This crashes my bash:
> a=(2 3 4 5) # OK
> ((c=a[3], d=a[2])) # Crash
It runs fine on bash-4.3.42 on RHEL 5 and Mac OS X.
--
``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/