Mercurial > repo
annotate bin/tomfoolery @ 12500:e48c08805365 draft default tip
<b_jonas> ` learn \'The password of the month is Cthulhuquagdonic Mothraquagdonic Narwhalicorn.\' # https://logs.esolangs.org/libera-esolangs/2024-04.html#lKE Infinite craft
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 01 May 2024 06:39:10 +0000 |
parents | 77998d6dfbd4 |
children |
rev | line source |
---|---|
12115
77998d6dfbd4
<fizzie> fetch /hackenv/bin/tomfoolery https://hack.esolangs.org/get/bin/tomfoolery
HackEso <hackeso@esolangs.org>
parents:
9075
diff
changeset
|
1 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." |