changeset 1812:2f5b38bf4710

<oerjan> fetch http://oerjan.nvg.org/url
author HackBot
date Fri, 25 Jan 2013 20:37:44 +0000
parents 2487660466ce
children d5b2eb52c760
files url.1
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/url.1	Fri Jan 25 20:37:44 2013 +0000
@@ -0,0 +1,8 @@
+#!/usr/bin/env python
+import sys, urllib
+if len(sys.argv) <= 1:
+    print "http://codu.org/projects/hackbot/fshg/"
+else:
+    print urllib.quote(
+        "http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/"
+        + sys.argv[1])