經安全檢測,此網站為安全網站,請放心前往原始網址!

How to find the array length in unix shell? - Stack Overflow

2009年12月11日 - $$ a=(1 2 3 4) $$ echo ${#a[@]} 4 ... Assuming bash: ~> declare -a foo ~> foo[0]="foo" ~> foo[1]="bar" ~> foo[2]="baz" ~> echo ${#foo[*]} 3.

stackoverflow.com

網址安全性掃描由 google 提供