Mercurial > repo
annotate bin/tomfoolery @ 6783:0c13247bfca4
<oerjan> ` mkdir misle; cp le/* misle; sed -i \'s/wisdom/tmflry/g\' misle/*
author | HackBot |
---|---|
date | Wed, 10 Feb 2016 06:06:12 +0000 |
parents | 75632330eef3 |
children | 13a2a618bea0 |
rev | line source |
---|---|
6763
75632330eef3
<zgrep> overwrite bin/tomfoolery = if [ -z "$1" ];then exec echo "I have nothing to tell you.";fi;f="tmflry/$1";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;? "$1"
HackBot
parents:
6762
diff
changeset
|
1 if [ -z "$1" ];then exec echo "I have nothing to tell you.";fi;f="tmflry/$1";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;? "$1" |