view bin/tomfoolery @ 11649:dc989cb6091e draft

<shachaf> mkx bin/detar//echo "https://en.allmetsat.com/metar-taf/north-america.php?icao=$1"
author HackEso <hackeso@esolangs.org>
date Sat, 17 Nov 2018 03:00:43 +0000
parents c989a1669243
children 77998d6dfbd4
line wrap: on
line source

if [ -z "$1" ];then exec echo "I have nothing to tell you.";fi;f="tmflry/$(echo "$1" | lowercase)";if [ -h "$f" ];then exec tomfoolery `readlink "$f" | sed 's/^tmflry\///'`;fi;if [ -x "$f" ];then exec bash "$f";fi;if [ -r "$f" ];then exec cat "$f";fi;echo "I must confess, I know not of what you are speaking."