title: How can I read words (instead of lines) from a file?
body: <p>I've read <a href="https://stackoverflow.com/questions/974977/read-characters-from-a-text-file-using-bash">this question</a> 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:</p>
  
  <pre><code>example text
  example1 text1
  example2 text2
  example3 text3
  </code></pre>
  
  <p>Can anyone explain that to me, or show me an easy example?
  Thanks!</p>