changeset 6738:c2f9ba5cfacf

<zgrep> ` echo \'a="tmflry/$1";if [[ -x "$a" ]];then bash "$a";exit;fi;if [[ -e "$a" ]];then cat "$a";exit;fi;? "$1"\' >> bin/tomfoolery;
author HackBot
date Wed, 10 Feb 2016 03:12:50 +0000
parents d6d014ce50e5
children 8cc7755c656a
files bin/tomfoolery
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"