You are viewing a single comment's thread. Return to all comments →
countries=[] count=0 while read country do countries[${count}]=${country} count=$((${count}+1)) done echo "${countries[@]}"
Seems like cookies are disabled on this browser, please enable them to open this website
Read in an Array
You are viewing a single comment's thread. Return to all comments →