view paste/paste.11685 @ 10254:5a6e97c9566d

<oerjan> sled bin/?//3itopic1=$(echo \'`\'"$topic" | sed "s/^``//")
author HackBot
date Wed, 15 Feb 2017 01:16:34 +0000
parents e037173e0012
children
line wrap: on
line source

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