diff options
author | epoch <epoch@hack.thebackupbox.net> | 2021-10-30 00:27:43 +0000 |
---|---|---|
committer | epoch <epoch@hack.thebackupbox.net> | 2021-10-30 00:27:43 +0000 |
commit | 3c5cd5e68278f82cc071623419e1a205c6fee38b (patch) | |
tree | 72d8dc4493e399d7ea6cc094826e527ef9e4c564 /urnresolve | |
parent | 62817acef7618bd5d6e77ffabb39aabe33f5a37c (diff) | |
parent | c38649558142ee7a02c176f373120f417633b022 (diff) | |
download | uritools-3c5cd5e68278f82cc071623419e1a205c6fee38b.tar.gz uritools-3c5cd5e68278f82cc071623419e1a205c6fee38b.zip |
Merge branch 'master' of ssh://git.thebackupbox.net/uritools
Diffstat (limited to 'urnresolve')
-rwxr-xr-x | urnresolve | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -25,6 +25,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 @@ -40,3 +50,7 @@ if [ "$nid" = "fcc" ];then grep "^$nss2\s" $PREFIX/share/urn/fcc:frs | cut -f2 fi fi + +if [ "$nid" = "btih" ];then + btih2magnet "$nss" +fi |