title: Does shell confuse <space> with <new line> when reading text files?
body: <p>i tried to run this script :</p>
  
  <pre><code>for line in $(cat song.txt)
  do echo "$line" &gt;&gt; out.txt
  done
  </code></pre>
  
  <p>running it on ubuntu 11.04</p>
  
  <p>when "song.txt" contains :</p>
  
  <pre><code>I read the news today oh boy
  About a lucky man who made the grade
  </code></pre>
  
  <p>after running the script the "out.txt" looks like that:</p>
  
  <pre><code>I
  read
  the
  news
  today
  oh
  boy
  About
  a
  lucky
  man
  who
  made
  the
  grade
  </code></pre>
  
  <p>is anyone can tell me what i am doing wrong here? </p>