#!/bin/no-such-interpreter ## If this file is called foo, the shell will return a misleading error: ## ksh: foo: not found ## Problem is $0 is not changed from foo to /bin/no-such-interpreter ## because doing so would give a misleading script name for scripts ## that start up successfully. ## This type of error can happen if the #!/bin/sh line is ^M terminated.