summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rwxr-xr-xurnstart6
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ecdb773..16d2e7c 100644
--- a/Makefile
+++ b/Makefile
@@ -43,4 +43,5 @@ install: all
install -t $(PREFIX)/bin data_handler
install -t $(PREFIX)/bin unshorten.sh
install -t $(PREFIX)/bin shorten
+ install -t $(PREFIX)/bin urnstart
chgrp shorten $(PREFIX)/bin/shorten && chmod g+s $(PREFIX)/bin/shorten
diff --git a/urnstart b/urnstart
index 4883b01..ec610c1 100755
--- a/urnstart
+++ b/urnstart
@@ -20,6 +20,10 @@ fi
if [ "$nid" = "ietf" ];then
if [ "$nss" = "rfc" ];then
- uristart "https://tools.ietf.org/html/rfc""${nss2}"
+ uristart gopher://thebackupbox.net:70/0/rfc/rfc${nss2}.txt
fi
fi
+
+if [ "$nid" = "xkcd" ];then
+ uristart "https://xkcd.com/${nss}"
+fi