You are viewing a single comment's thread. Return to all comments →
tab=() while read country; do tab+=("$country") done # print length of table echo "${#tab[@]}"
Seems like cookies are disabled on this browser, please enable them to open this website
Count the number of elements in an Array
You are viewing a single comment's thread. Return to all comments →