# HG changeset patch # User HackBot # Date 1455073044 0 # Node ID 368451421035bb73d75708506a1b1ea965c6656f # Parent b8adb88a0f8e4891809ac140248f7e38a5d0e900 ` echo \'#!/usr/bin/env python\' > bin/tomfoolery diff -r b8adb88a0f8e -r 368451421035 bin/tomfoolery --- a/bin/tomfoolery Wed Feb 10 02:56:51 2016 +0000 +++ b/bin/tomfoolery Wed Feb 10 02:57:24 2016 +0000 @@ -1,9 +1,1 @@ #!/usr/bin/env python -import os as o,sys as s,subprocess as u -if len(s.argv) != 2:print"I have nothing to say to you.";exit() -if not o.path.isdir(t):print"Somebody should take a peek inside me.";exit() -if o.access(a, o.X_OK):print u.check_output([bash,a]),;exit() -a=s.argv[1];o.chdir(t) -with open(a,r)as f:print f.read(), -if not o.path.isfile(a):print u.check_output(["?",a]),;exit() -t="tmflry"