Concatenate an array with itself

  • + 1 comment
    readarray -t countries
    
    multCountries=("${countries[@]}" "${countries[@]}" "${countries[@]}")
    echo ${multCountries[@]}