title: "echo -e" when called directly and when called via a shell-script
body: <p>I've noticed <code>echo</code> behaves slightly differently when called directly </p>
  
  <p><code>root$echo "line1\nline2"</code></p>
  
  <p>and when called via a script:</p>
  
  <pre><code>#! /bin/sh
  
  echo "line1\nline2"
  
  [...]
  </code></pre>
  
  <p>The first case would print:</p>
  
  <pre><code>line1\nline2
  </code></pre>
  
  <p>, while the latter would print</p>
  
  <pre><code>line1
  line2
  </code></pre>
  
  <p>So <code>echo</code> is always assumed to have flag <code>-e</code> when used in a script?</p>