On 12/16/21 1:33 PM, fatiparty--- via Bug reports for the GNU Bourne Again SHell wrote: > > Have been reading the Gnu Bash Manual "6.7 Arrays" and there is no mention of > ${#name[*]} to get the array size.
"${#NAME[SUBSCRIPT]}' expands to the length of '${NAME[SUBSCRIPT]}'. If SUBSCRIPT is '@' or '*', the expansion is the number of elements in the array." -- ``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/