title: How to solve "bad interpreter: No such file or directory"
body: <p>I'm trying to run a <code>sh</code> script and get the following error on Mac:</p>
  
  <pre><code>/usr/bin/perl^M: bad interpreter: No such file or directory
  </code></pre>
  
  <p>How can I fix this?</p>