# HG changeset patch # User HackEso # Date 1573944832 0 # Node ID 77998d6dfbd49e163d85efed7010b17b50b5452f # Parent 9c7bd01f6d39daef650a1658a24af498bc4ba783 fetch /hackenv/bin/tomfoolery https://hack.esolangs.org/get/bin/tomfoolery diff -r 9c7bd01f6d39 -r 77998d6dfbd4 bin/tomfoolery --- a/bin/tomfoolery Sat Nov 16 22:48:35 2019 +0000 +++ b/bin/tomfoolery Sat Nov 16 22:53:52 2019 +0000 @@ -1,1 +1,1 @@ -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." +if [ -z "$1" ];then exec echo "I have nothing to tell you.";fi;t="$HACKENV/tmflry";f="$t/$(echo "$1" | lowercase)";if [ -h "$f" ];then exec tomfoolery `readlink "$f" | sed 's/^'"$t"'\///'`;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."