annotate paste/paste.12709 @ 3868:5909a6756b89

<oerjan> sed -i -e \'1aimport sys\' -e \'s/print/sys.write/\' bin/CaT #Let\'s see how much i messed this up
author HackBot
date Fri, 04 Oct 2013 22:39:05 +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