igor-petruk / scriptisto

A language-agnostic "shebang interpreter" that enables you to write scripts in compiled languages.
Apache License 2.0
909 stars 25 forks source link

Correct shebangs in some languages to prevent IDE errors #7

Closed igor-petruk closed 4 years ago

igor-petruk commented 4 years ago

Quoting https://en.wikipedia.org/wiki/Shebang_(Unix)#Magic_number:

The shebang is actually a human-readable instance of a magic number in the executable file, the magic byte string being 0x23 0x21, the two-character encoding in ASCII of #!. This magic number is detected by the "exec" family of functions

I don't think this is fixable. If you have ideas - reopen