view bin/? @ 1486:be910734200d

<olsner> sed -i /Lists:/d bin/lists
author HackBot
date Sat, 12 Jan 2013 19:58:42 +0000
parents f6d465484eb5
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"