title: Why is my expect script failing on line 1?
body: <p>The very first line of my expect script fails.  Here are the entire contents of my script and it fails:</p>
  
  <pre><code>#!/usr/bin/expect -f
  </code></pre>
  
  <p>And it fails right off the bat with </p>
  
  <pre><code>": no such file or directory
  </code></pre>
  
  <p>as my response.  Expect is in fact installed and is located in /usr/bin/ and I am running this from root.  I have no extra spaces or lines before the # sign either.  Of course there was more to the script originally but it fails way before it gets to the good stuff.</p>