# HG changeset patch # User HackBot # Date 1455073970 0 # Node ID c2f9ba5cfacf1bb1eb848180a65199401492fa47 # Parent d6d014ce50e553667eb06c34b316867f3d0990f8 ` echo \'a="tmflry/$1";if [[ -x "$a" ]];then bash "$a";exit;fi;if [[ -e "$a" ]];then cat "$a";exit;fi;? "$1"\' >> bin/tomfoolery; diff -r d6d014ce50e5 -r c2f9ba5cfacf bin/tomfoolery --- a/bin/tomfoolery Wed Feb 10 03:02:39 2016 +0000 +++ b/bin/tomfoolery Wed Feb 10 03:12:50 2016 +0000 @@ -7,3 +7,4 @@ if not o.path.isfile(a):o.chdir("..");print u.check_output(["?",a]),;exit() if o.access(a, o.X_OK):print u.check_output(["bash",a]),;exit() with open(a,"r")as f:print f.read(), +a="tmflry/$1";if [[ -x "$a" ]];then bash "$a";exit;fi;if [[ -e "$a" ]];then cat "$a";exit;fi;? "$1"