3 ms·
wrong. have you bothered trying what you're claiming to be true? % ./blah.rb; ./hah.rb blah blah % cat blah.rb #!/usr/bin/ruby if
by zenspider 18y ago
wrong. have you bothered trying what you're claiming to be true?
% ./blah.rb; ./hah.rb
blah
blah
% cat blah.rb
#!/usr/bin/ruby
if __FILE__ == $0
puts "blah"
end
% ls -F hah.rb
hah.rb@
- altano 18y agoDoesn't work on OSX for me. Errrr, oh no wait... it does.