On 6/13/23 7:12 PM, alex xmb ratchev wrote:
any word s about [[ -v .. ?
Using the assignments above, [[ -v a["$subscript"] ]] is already an arithmetic expansion error in bash-5.2, but not in bash-5.1. Inhibiting double expansions like those for shell compound commands was one of the changes between bash-5.1 and bash-5.2. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/