view paste/paste.11685 @ 11847:0a849e804948 draft

<wob_jonas> fetch share/whatis https://hack.esolangs.org/get/share/whatis
author HackEso <hackeso@esolangs.org>
date Tue, 16 Jul 2019 13:57:43 +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"