RosettaCodeData/Task/Arrays/UNIX-Shell/arrays-2.sh

3 lines
71 B
Bash
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
count=${#alist[*]}
echo "The number of items in alist is ${#alist[*]}"