From: Enrique Comba Riepenhausen Date: 2007-05-11T23:48:58+09:00 Subject: Re: shebang - what's the point? On 11 May 2007, at 16:43, Todd Burch wrote: > I've written a few hundred scripts now, and not once have I ever > coded a > shebang line. I'm writing on both Windows and the Mac (Tiger). > > Any time I'm kicking off a script from the Command Prompt or in > Terminal > on the Mac, I simply type > > ruby .rb > > and it works just fine. > > So, when it comes down to it, what's the point of the shebang line? > > Todd Basically so that instead of ruby .rb you can write ./.rb in the shell prompt. Will only work in *NIX environments though (UNIX, LINUX, BSD, OS X, Cygwin, etc.) Cheers, Enrique Comba Riepenhausen