Fix menu item in URI. - various - Various utilities developed at bitreich.
(HTM) git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/various/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
---
(DIR) commit 1e985cb90d976f0f4e63cf51cb6d031cc53d304e
(DIR) parent b3e141604fd1979efc89e1ec5bc51d258c17600b
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 27 Aug 2021 16:02:57 +0200
Fix menu item in URI.
Diffstat:
M gophermenu2uri | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/gophermenu2uri b/gophermenu2uri
@@ -1,4 +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/,/,;'
+sed 's,\r$,,; s,\(.\)\([^\t]*\)\t\([^\t]*\)\t\([^\t]*\)\t\([^\t]*\).*,gopher://\4:\5/\1\3\t\2,; s,:70/,/,;'