You are viewing a single comment's thread. Return to all comments →
#!/bin/bash declare -a countries while IFS= read -r line || [[ -n "$line" ]] do countries+=("$line") done printf '%s ' "${countries[@]}" "${countries[@]}" "${countries[@]}" echo
Seems like cookies are disabled on this browser, please enable them to open this website
Concatenate an array with itself
You are viewing a single comment's thread. Return to all comments →