You are viewing a single comment's thread. Return to all comments →
i=0 while read input do x[$i]=$input i=$((i+1)) done echo ${x[@]}
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 →