view paste/paste.12709 @ 11930:fbf2d501bfee draft

<fizzie> sled share/whatis//s/^hurl(1hackeso) - .*/hurl(1hackeso) - print URL to view version log of a hackenv file/
author HackEso <hackeso@esolangs.org>
date Fri, 13 Sep 2019 09:32:59 +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"