Created
November 17, 2009 19:38
-
-
Save manuel/237197 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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