Mercurial > repo
view bin/tomfoolery @ 12173:c09becd5b2ae draft
<oerjan> learn `rlexp <compressed code> is a command for expanding the rle format fungot ^show\'s for brainfuck code but doesn\'t accept as input.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 20 Nov 2019 06:37:46 +0000 |
parents | 77998d6dfbd4 |
children |
line wrap: on
line source
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."