annotate paste/paste.26175 @ 10192:92d7244e190c

<int-e> ` echo Hi | paste
author HackBot
date Sun, 29 Jan 2017 11:17:01 +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