view q.1 @ 1823:42bfc2a651af

<Bike> learn $1? \xef\xbf\xbd\xef\xbf\xbd\\(\xef\xbf\xbd\xef\xbf\xbd_o)/\xef\xbf\xbd\xef\xbf\xbd
author HackBot
date Fri, 25 Jan 2013 21:07:00 +0000
parents 1cef690af38d
children
line wrap: on
line source

#!/bin/sh
topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//")
topic1=$(echo "$topic" | sed "s/s$//")
([ \( "$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; }