You are viewing a single comment's thread. Return to all comments →
arr=() while read line; do arr+=($line); done echo ${arr[3]}
without using Array:
for ((i=0;i<=3;i++)); do read line; done echo $line
Seems like cookies are disabled on this browser, please enable them to open this website
Display an element of an array
You are viewing a single comment's thread. Return to all comments →
without using Array: