title: head outputting text on single line without linebreaks
body: <p>My command is this:</p>
  
  <pre><code>df=$(echo `df -h | head -3`)
  echo $df
  </code></pre>
  
  <p>I would expect it to display the first three lines of <code>df -h</code> output as such:</p>
  
  <pre><code>Filesystem      Size  Used Avail Use% Mounted on
  /abc/asdf       16G   5.6G  9.4G  38% /
  abcd            1.9G   12K  1.9G   1% /dev
  </code></pre>
  
  <p>Instead, it outputs this:</p>
  
  <pre><code>Filesystem Size Used Avail Use% Mounted on /abc/asdf 16G 5.6G 9.4G 38% / abcd 1.9G 12K 1.9G 1% /dev
  </code></pre>
  
  <ul>
  <li>How can I make sure that <code>echo $df</code> outputs the newline character in my shell script?</li>
  <li>What is causing the echo to ignore the newline character from <code>head</code>?</li>
  </ul>