view bin/? @ 1304:f6d465484eb5

<oerjan> sed -i \'s/a-z/a-z | sed "s\\/ *$\\/\\/"/\' bin/\'?\'
author HackBot
date Mon, 07 Jan 2013 21:28:25 +0000
parents e037173e0012
children 48427dffea8d
line wrap: on
line source

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