1 comment

[ 3.4 ms ] story [ 15.0 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 :)