title: Indenting heredocs with spaces
body: <p>For personal development and projects I work on, we use four spaces instead of tabs.
  However, I need to use a heredoc, and I can't do so without breaking the indention flow.</p>
  
  <p>The only working way to do this I can think of would be this:</p>
  
  <pre><code>usage() {
      cat &lt;&lt; '    EOF' | sed -e 's/^    //';
      Hello, this is a cool program.
      This should get unindented.
      This code should stay indented:
          something() {
              echo It works, yo!;
          }
      That's all.
      EOF
  }
  </code></pre>
  
  <p>Is there a better way to do this?</p>
  
  <p>Let me know if this belongs on the <a href="https://unix.stackexchange.com/">Unix/Linux Stack Exchange</a> instead.</p>