title: Deleting hash from beginning of line with sed
body: <p>I'd like to populate a shell variable with the file contents of the file that follow the # (but leave the file as-is) from beginning of one single-line file</p>
  
  <p>I tried</p>
  
  <pre><code>file=$(head -n1 $another_filename | sed 's/^#//')
  </code></pre>
  
  <p>but output is the same. I don't want to delete the whole line, just hash.</p>