diff options
author | epoch <epoch@enzo.thebackupbox.net> | 2021-10-30 00:24:59 +0000 |
---|---|---|
committer | epoch <epoch@enzo.thebackupbox.net> | 2021-10-30 00:24:59 +0000 |
commit | c38649558142ee7a02c176f373120f417633b022 (patch) | |
tree | 531868c0c1fd9a61310326e34ee2c4550b1ef5fd /urnresolve | |
parent | 97be01c60eb0e8cac1a9cdd2211aa27e1c50a414 (diff) | |
download | uritools-c38649558142ee7a02c176f373120f417633b022.tar.gz uritools-c38649558142ee7a02c176f373120f417633b022.zip |
urnresolve now resolves the made-up urn:phrack
Diffstat (limited to 'urnresolve')
-rwxr-xr-x | urnresolve | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |