alicegoldfuss/goodbye-horses — pull request #1 by thomaslee (2014-08-01 04:05:13+00:00)
Title: horsethon

$ ls
hello.py horsethon README.md
$ cat hello.py
import sys

line = sys.stdin.readline().strip().lower()

if line == 'hello world':
print "Well Hello World to you too!"
else:
print "I was hoping you'd say 'hello world' :("

$ python hello.py <<<"hello world"
Well Hello World to you too!
$ ./horsethon hello.py <<<"hello world"
I was hoping you'd say 'goodbye horses' :(
$ # it'll try to keep capitalization too :)
$ ./horsethon hello.py <<<"goodbye horses"
Well Goodbye Horses to you too!