On 10/13/22 12:06 PM, Oğuz wrote:
test -v seems broken anyway$ declare -A foo=(a 42) $ declare -a bar=(42) $ test -v foo; echo $? 1 $ test -v bar; echo $? 0
You know that referencing an array variable without a subscript is equivalent to referencing element 0 (or "0"). -- ``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/