annotate q.1 @ 1828:c07349799d0b

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