annotate paste/paste.16040 @ 1899:e06dcdf08c5b

<ais523> pastequotes oerjan
author HackBot
date Wed, 30 Jan 2013 05:59:00 +0000
parents 0ea966b84787
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1804
0ea966b84787 <oerjan> cat bin/\'?\' | paste
HackBot
parents: 359
diff changeset
1 #!/bin/sh
0ea966b84787 <oerjan> cat bin/\'?\' | paste
HackBot
parents: 359
diff changeset
2 topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//")
0ea966b84787 <oerjan> cat bin/\'?\' | paste
HackBot
parents: 359
diff changeset
3 ([ \( "$topic" = "ngevd" \) -a \( -e wisdom/ngevd \) ] && cat /dev/urandom && exit 0; ) || [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; }
0ea966b84787 <oerjan> cat bin/\'?\' | paste
HackBot
parents: 359
diff changeset
4 cat "wisdom/$topic"