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