From: Daniel Martin Date: 2007-05-12T03:03:44+09:00 Subject: Re: shebang - what's the point? Todd Burch writes: > So, when it comes down to it, what's the point of the shebang line? There's one more advantage to using a #! line that applies when you're posting a script in an email message -- in that case, you should begin your script with #!ruby and end it with __END__ If you do that, then people can save your email message to a file and just run it with: ruby -x email_message.txt Regardless of what kind of headers or footers got attached to the email message. (So long as email didn't word-wrap your script, everything should be good) -- s=%q( Daniel Martin -- martin@snowplow.org puts "s=%q(#{s})",s.to_a.last ) puts "s=%q(#{s})",s.to_a.last