view bin/? @ 1773:8578983f1250

<shachaf> echo \'welcome "$@" | h\' > bin/wehlcohme; chmod +x bin/wehlcohme
author HackBot
date Fri, 25 Jan 2013 13:32:20 +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"