Mercurial > repo
annotate bin/unh @ 2367:75116167989a
<Jafet> (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))))\') >$(which rainwords)
author | HackBot |
---|---|
date | Mon, 04 Mar 2013 10:36:29 +0000 |
parents | eee02eb985e4 |
children |
rev | line source |
---|---|
1803
eee02eb985e4
<fizzie> printf \'%s\\n\' \'#!/usr/bin/perl -p\' \'s/([aeiouy])h([bcdfghjklmnpqrstvxz])/$1$2/ig\' > bin/unh; chmod +x bin/unh # I\'m sure we need all these
HackBot
parents:
diff
changeset
|
1 #!/usr/bin/perl -p |
eee02eb985e4
<fizzie> printf \'%s\\n\' \'#!/usr/bin/perl -p\' \'s/([aeiouy])h([bcdfghjklmnpqrstvxz])/$1$2/ig\' > bin/unh; chmod +x bin/unh # I\'m sure we need all these
HackBot
parents:
diff
changeset
|
2 s/([aeiouy])h([bcdfghjklmnpqrstvxz])/$1$2/ig |