c=0 cat items.txt| while read line do items[c]="$line" let c=c+1 done