Code:
grep 'detail' filename.log | awk '{variable[$1]=$1" "$6; for (index in variable) {print variable[index]}}'
It appears instead of storing and printing one line at a time. This stores all the lines into one index, and prints out this one cell index.
How can I make it to store one line, and print one line at a time?