I\'ve read this question about how to read n characters from a text file using bash. I would like to know how to read a word at a time from a file that looks like:
This can be done using AWK too:
awk '{for(i=1;i<=NF;i++) {print $i}}' text_file