Mercurial > repo
view bin/tomfoolery @ 10257:b727e7b800f7
<oerjan> sled bin/?//4,$s/topic1/topic2/;9ielif [ -e "$topic1" ];
author | HackBot |
---|---|
date | Wed, 15 Feb 2017 01:20:42 +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."