view bin/? @ 1784:3092eaf44902

<oerjan> paste nosuchfile
author HackBot
date Fri, 25 Jan 2013 14:15:32 +0000
parents 297d792c55c4
children 8949d5d1637d
line wrap: on
line source

#!/bin/sh
topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//")
([ \( "$topic" = "ngevd" \) -a \( -e wisdom/ngevd \) ] && cat /dev/urandom && exit 0; ) || [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; }
cat "wisdom/$topic"