Mercurial > repo
view bin/raw-url @ 5232:8e51f494e522
<int-e> ` echo \'welcome "$@" | sed s/\\\\\\<.//g\' > bin/elcome
author | HackBot |
---|---|
date | Sat, 03 Jan 2015 22:58:33 +0000 |
parents | 5a4571b62410 |
children | 024b7442d847 |
line wrap: on
line source
#!/usr/bin/env python import sys, urllib if len(sys.argv) <= 1: print "http://codu.org/projects/hackbot/fshg/" else: print ("http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/" + urllib.quote(sys.argv[1]))