> So, when it comes down to it, what's the point of the shebang line?
To summarize the to previous replies (Enrique and Greg):
Say you have a script that does some kind of sorting. You rename your
sort.rb file to sort
and give it the shebang line. If it's in the PATH you can simply run it
like:
$ sort testfile.txt
which I think is pretty neat.
As Enrique said before only *NIX environments support that.
Cheers,
Christian Luginbuehl