changeset 6718:b87d0fe828dd

<zgrep> ` head -n 7 bin/tomfoolery > bin/tomfoolery
author HackBot
date Wed, 10 Feb 2016 02:58:43 +0000
parents 62edae7d3380
children 0ccffad6e781
files bin/tomfoolery
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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(),