set multiple variables from one awk command? This might work for you: var=(col0 col1 col2) echo "${var[1]}" col1