title: How do I get the last word in each line with bash
body: <p>For example i have a file:</p>
  
  <pre><code>$ cat file
  
  i am the first example.
  
  i am the second line.
  
  i do a question about a file.
  </code></pre>
  
  <p>and i need:</p>
  
  <pre><code>example, line, file
  </code></pre>
  
  <p>i intent with "awk" but the problem is that the words are in different space </p>