1 comment

[ 2.3 ms ] story [ 13.5 ms ] thread
It'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 :)