annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10305
503b67656c89 <shachaf> ` >bin/edit echo \'#!/usr/bin/env python\'; >>bin/edit echo \'import sys, urllib\'; >>bin/edit echo \'print "http://slbkbs.org:5196/edit?path=" + urllib.quote(sys.argv[1])\'; chmod +x bin/edit
HackBot
parents:
diff changeset
1 #!/usr/bin/env python
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
HackBot
parents: 10305
diff changeset
2 import sys, os, urllib
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
HackBot
parents: 10305
diff changeset
3 print "http://slbkbs.org:5196/edit?path=" + urllib.quote(os.path.realpath(sys.argv[1]))