view bin/q @ 1763:bff28a744c14

<Jafet> chmod +x bin/q
author HackBot
date Fri, 25 Jan 2013 13:14:26 +0000
parents ac79507c118d
children 88a36ee9de1f
line wrap: on
line source

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