summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@enzo.thebackupbox.net>2020-12-23 18:23:59 -0600
committerepoch <epoch@enzo.thebackupbox.net>2020-12-23 18:23:59 -0600
commit28d270f93f42ea35964328542c13fc22166efece (patch)
tree6c829c8ee659441dbfa837bab1efc499e0255c9c
parent1b813d6851c34238e0e2cddc95f2e5f2375a5367 (diff)
downloaduritools-28d270f93f42ea35964328542c13fc22166efece.tar.gz
uritools-28d270f93f42ea35964328542c13fc22166efece.zip
added urn start to Makefile and use my own rfc site over gopher for urn:ietf:rfc resolution now
-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