annotate paste/paste.12709 @ 2365:03a1f9456366

<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:32:33 +0000
parents e037173e0012
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/bin/sh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 topic=$(echo "$1" | tr A-Z a-z)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; }
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 cat "wisdom/$topic"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5