Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

THE UNSTOPPABLE POWER OF RUBY

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");

Name: Anonymous 2009-10-04 1:44

>>21
Actually, in Iceland, it goes DD/MM/YY, not MM/DD/YY, so that means it was updated 17-5th-2009 in the U.S. date format.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List