repo: uritools
action: commit
revision: 
path_from: 
revision_from: c38649558142ee7a02c176f373120f417633b022:
path_to: 
revision_to: 
git.thebackupbox.net
uritools
git clone git://git.thebackupbox.net/uritools
commit c38649558142ee7a02c176f373120f417633b022
Author: epoch 
Date:   Sat Oct 30 00:24:59 2021 +0000

    urnresolve now resolves the made-up urn:phrack

diff --git a/urnresolve b/urnresolve
index e33f56e69c61d5b6110e7a6de5e49c343de12f4b..
index ..4e6a39b5aca852a4d59dd40b95d3b904adf303b0 100755
--- a/urnresolve
+++ b/urnresolve
@@ -24,6 +24,16 @@ if [ "$nid" = "ietf" ];then
   fi
 fi

+if [ "$nid" = "phrack" ];then
+  if [ "$nss" ];then
+    if [ "$nss2" ];then
+      echo "gopher://thebackupbox.net:70/0/phrack/issues/${nss}/${nss2}.txt"
+    else
+      echo "gopher://thebackupbox.net:70/1/phrack/issues/${nss}/"
+    fi
+  fi
+fi
+
 if [ "$nid" = "xkcd" ];then
   echo "https://xkcd.com/${nss}"
 fi

-----END OF PAGE-----