title: in bash, "for;do echo;done" splits lines at spaces
body: <p>In bash on Mac OSX, I have a file (test case) that contains the lines</p>
  
  <pre><code>x xx xxx
  xxx xx x
  </code></pre>
  
  <p>But when I execute the command</p>
  
  <pre><code>for i in `cat r.txt`; do echo "$i"; done
  </code></pre>
  
  <p>the result is not</p>
  
  <pre><code>x xx xxx
  xxx xx x
  </code></pre>
  
  <p>as I want but rather</p>
  
  <pre><code>x
  xx
  xxx
  xxx
  xx
  x
  </code></pre>
  
  <p>How do I make echo give me 'x xx xxx'?</p>