2013年11月29日 - ... while read line # Read a line do array[i]=$line # Put it into the array i=$(($i + 1)) done ...
stackoverflow.com