# HG changeset patch # User HackBot # Date 1362393421 0 # Node ID 8fc272a3ee48fced6e27cc5ee8ae2028d11547df # Parent 75116167989a21e1fc8bbfa0fce5bd3ff378b252 (echo \'#!/usr/bin/python\'; echo \'import random; w=[l.split() for l in open("/dev/stdin").read().split("\\n")]; r=[4,7,8,9,2,13,6]; print "\\n".join((lambda s: " ".join(chr(3) + str(r[(i+s)%len(r)]) + l[i] for i in range(len(l))))(random.randrange(0, len(r))) for l in w)\') >$(which rainwords) diff -r 75116167989a -r 8fc272a3ee48 bin/rainwords --- a/bin/rainwords Mon Mar 04 10:36:29 2013 +0000 +++ b/bin/rainwords Mon Mar 04 10:37:01 2013 +0000 @@ -1,2 +1,2 @@ #!/usr/bin/python -import random; w=[l.split() for l in open("/dev/stdin").read().split("\n")]; r=[4,7,8,9,2,13,6]; print "\n".join((lambda s: " ".join(chr(3) + str(r[(i+s)%len(r)]) + l[i] for i in range(len(l))))(random.randrange(0, len(r)))) +import random; w=[l.split() for l in open("/dev/stdin").read().split("\n")]; r=[4,7,8,9,2,13,6]; print "\n".join((lambda s: " ".join(chr(3) + str(r[(i+s)%len(r)]) + l[i] for i in range(len(l))))(random.randrange(0, len(r))) for l in w)