view paste/paste.16040 @ 2088:73344eff9e56

<oerjan> pastelogs <oerjan.*\xc4\x91
author HackBot
date Mon, 11 Feb 2013 22:18:22 +0000
parents 0ea966b84787
children
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"