# HG changeset patch # User HackBot # Date 1455073123 0 # Node ID b87d0fe828dd985b23a1076fad59c8f374e76426 # Parent 62edae7d33806febaefca6310fbe9609af2c6cf3 ` head -n 7 bin/tomfoolery > bin/tomfoolery diff -r 62edae7d3380 -r b87d0fe828dd bin/tomfoolery --- a/bin/tomfoolery Wed Feb 10 02:58:01 2016 +0000 +++ b/bin/tomfoolery Wed Feb 10 02:58:43 2016 +0000 @@ -1,9 +0,0 @@ -#!/usr/bin/env python -import os as o,sys as s,subprocess as u -t="tmflry" -if not o.path.isdir(t):print"Somebody should take a peek inside me.";exit() -if len(s.argv) != 2:print"I have nothing to say to you.";exit() -a=s.argv[1];o.chdir(t) -if not o.path.isfile(a):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(),