16 ms·
The '#' magic - details about the shebang mechanism on various Unix flavours
- claymation 17y agoIt's surprising how few people realize that the shebang is implemented by the kernel, NOT by the shell. The shell ignores it -- hence the leading hash comment character. I actually had a support engineer at Opsware argue with me about this, even after I sent him snippets of the Linux and Solaris kernel source :)