view bin/edit @ 10306:a05c53048474

<shachaf> ` >bin/edit echo \'#!/usr/bin/env python\'; >>bin/edit echo \'import sys, os, urllib\'; >>bin/edit echo \'print "http://slbkbs.org:5196/edit?path=" + urllib.quote(os.path.realpath(sys.argv[1]))\'; chmod +x bin/edit
author HackBot
date Fri, 17 Feb 2017 04:30:13 +0000
parents 503b67656c89
children 96425ae9376f
line wrap: on
line source

#!/usr/bin/env python
import sys, os, urllib
print "http://slbkbs.org:5196/edit?path=" + urllib.quote(os.path.realpath(sys.argv[1]))