title: preserve whitespace while iterating over a file in bash
body: <p>I need to iterate over the lines of a text file in bash, and I want to preserve whitespace. The final goal is to feed <a href="https://github.com/greg0ire/git_template/blob/master/template/hooks/junkchecker/pre-commit#L16" rel="nofollow">this line</a> phrases that could contain a whitespace.</p>
  
  <p>So, given a phrase_file containing</p>
  
  <pre><code>xdebug
  var_dump
   dump(
  pwet
  meuh
  coin
  </code></pre>
  
  <p>when I try this :</p>
  
  <pre><code>while read -r PHRASE
  do
      echo "$PHRASE"
  done &lt; phrase_file
  </code></pre>
  
  <p>The output is :</p>
  
  <pre><code>xdebug
  var_dump
  dump(
  pwet
  meuh
  coin
  </code></pre>
  
  <p>Where did the whitespace before <code>dump()</code> go , and how can I get it back?</p>