Mercurial > repo
changeset 6727:38bc8b0f1cf6
<zgrep> ` echo \'with open(a,"r")as f:print f.read(),\' >> bin/tomfoolery
author | HackBot |
---|---|
date | Wed, 10 Feb 2016 02:59:43 +0000 |
parents | e2834d707156 |
children | e0f0a14cf39a |
files | bin/tomfoolery |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/tomfoolery Wed Feb 10 02:59:38 2016 +0000 +++ b/bin/tomfoolery Wed Feb 10 02:59:43 2016 +0000 @@ -6,3 +6,4 @@ 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(),