• + 0 comments
    countries=[]
    count=0
    while read country
    do
      countries[${count}]=${country}
      count=$((${count}+1))
    done
    echo "${countries[@]}"