You are viewing a single comment's thread. Return to all comments →
declare -a aray=() while IFS= read -r line || [ -n "$line" ]; do aray=("${aray[@]}" "$line") done doublearray=(${aray[@]} ${aray[@]} ${aray[@]}) echo ${doublearray[@]}
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 →