On 8/29/16 5:57 PM, Jarno Suni wrote:

> Bash Version: 4.3
> Patch Level: 46
> Release Status: release
> 
> Description:
> Using associative array variable that has a single quote in index does
> not work withing (( )) without a trick.

Yes, this is a problem resulting from the subscript being scanned twice
(once to perform variable expansion before the expression evaluator is
called, and once during the expression evaluation to find the end of the
subscript).  I'll look at it after bash-4.4 is released.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to