Add script for raw gopher menu to tsv URI. - various - Various utilities developed at bitreich. HTML git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/various/ DIR Log DIR Files DIR Refs DIR Tags --- DIR commit b3e141604fd1979efc89e1ec5bc51d258c17600b DIR parent 99fee3542240698d2547ac178e4d9fb40cdc54d1 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 27 Aug 2021 15:48:12 +0200 Add script for raw gopher menu to tsv URI. Diffstat: A gophermenu2uri | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/gophermenu2uri b/gophermenu2uri @@ -0,0 +1,4 @@ +#!/bin/sh + +sed 's,\r$,,; s,\(.\)\([^\t]*\)\t\([^\t]*\)\t\([^\t]*\)\t\([^\t]*\).*,gopher://\4:\5\3\t\2\t\1,; s,:70/,/,;' +