1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env ruby begin $stdout.print File.realpath(ARGV[0]) $stdout.print "\n" rescue Exception => err $stderr.print err $stderr.print "\n" exit 1 end