Stefan Wagner wrote:ar=("first" "second" "third"); n=0; for i in $( < data) ; do echo The ${ar[n]} value is: $i ; n=$((n+1)) done