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[@]:3:5}
Seems like cookies are disabled on this browser, please enable them to open this website
Slice an Array
You are viewing a single comment's thread. Return to all comments →