Re: Gnu Bash Manual - Getting the Array Size

2021-12-16 Thread Chet Ramey
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 '@

Gnu Bash Manual - Getting the Array Size

2021-12-16 Thread fatiparty--- via Bug reports for the GNU Bourne Again SHell
Have been reading the Gnu Bash Manual "6.7 Arrays" and there is no mention of ${#name[*]} to get the array size.