view paste/paste.12709 @ 12143:f35125e00403 draft

<b_jonas> fetch /hackenv/bin/uptime https://hack.esolangs.org/get/bin/uptime
author HackEso <hackeso@esolangs.org>
date Sun, 17 Nov 2019 20:30:42 +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"