Name: Anonymous 2009-10-03 4:24
Watch and learn, you low-life punks:
!/usr/bin/ruby
class Shell
def self.method_missing(name,*args)
cmd = name.to_s;
args.each { |a| cmd += " " + a }
output = `#{cmd}`.split("\n")
return output
end
end
puts Shell.ls("-al");
puts
puts Shell.uname("-a");