Skip to content

Instantly share code, notes, and snippets.

@manuel
Created November 17, 2009 19:38
Show Gist options
  • Save manuel/237197 to your computer and use it in GitHub Desktop.
Save manuel/237197 to your computer and use it in GitHub Desktop.
print "You have no mail.\n"
10000.times {
'$ '.display
gets.each do | e |
if (e == "uname\n")
puts "Runix 1.0"
elsif (e == "halt\n")
exit
else
puts "command not found"
end
end
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment