aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorepoch <epoch@enzo.thebackupbox.net>2021-10-30 00:24:59 +0000
committerepoch <epoch@enzo.thebackupbox.net>2021-10-30 00:24:59 +0000
commitc38649558142ee7a02c176f373120f417633b022 (patch)
tree531868c0c1fd9a61310326e34ee2c4550b1ef5fd
parent97be01c60eb0e8cac1a9cdd2211aa27e1c50a414 (diff)
downloaduritools-c38649558142ee7a02c176f373120f417633b022.tar.gz
uritools-c38649558142ee7a02c176f373120f417633b022.zip
urnresolve now resolves the made-up urn:phrack
-rwxr-xr-xurnresolve10
1 files changed, 10 insertions, 0 deletions
diff --git a/urnresolve b/urnresolve
index e33f56e..4e6a39b 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