annotate q.2 @ 1828:c07349799d0b

<oerjan> cat q >bin/\'?\'
author HackBot
date Fri, 25 Jan 2013 21:23:38 +0000
parents 8c4f72925fb1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1824
8c4f72925fb1 <oerjan> fetch http://oerjan.nvg.org/q
HackBot
parents:
diff changeset
1 #!/bin/sh
8c4f72925fb1 <oerjan> fetch http://oerjan.nvg.org/q
HackBot
parents:
diff changeset
2 topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//")
8c4f72925fb1 <oerjan> fetch http://oerjan.nvg.org/q
HackBot
parents:
diff changeset
3 topic1=$(echo "$topic" | sed "s/s$//")
8c4f72925fb1 <oerjan> fetch http://oerjan.nvg.org/q
HackBot
parents:
diff changeset
4 ([ \( "$topic" = "ngevd" \) -a \( -e wisdom/ngevd \) ] && cat /dev/urandom && exit 0; ) || if [ -e "wisdom/$topic" ]; then cat "wisdom/$topic"; elif [ -e "wisdom/$topic1" ]; then cat "wisdom/$topic1"; else echo "$1? ��\(��_o)/��"; exit 1; fi
8c4f72925fb1 <oerjan> fetch http://oerjan.nvg.org/q
HackBot
parents:
diff changeset
5