2025-11-10 - Convert Geomyidae And Gophernicus Gophermap Format
===============================================================
Recently i wanted to convert between geomyidae and gophernicus
gophermaps. They are both simple formats, so it is fairly
simple to do in AWK. Here are scripts to convert in both
directions.
gph2map.awk
<
gopher://tilde.pink/0/~bencollver/log/
2025-11-10-convert-geomyidae-and-gophernicus-gophermap-format/
gph2map.awk>
map2gph.awk
<
gopher://tilde.pink/0/~bencollver/log/
2025-11-10-convert-geomyidae-and-gophernicus-gophermap-format/
map2gph.awk>
Even more minimal would be to have curl and geomyidae do the
work for you. For example, this log entry is served from tilde.pink,
which runs geomyidae.
$ URL="
gopher://tilde.pink/1/~bencollver/log/2025-11-10-convert-"
$ URL="${URL}geomyidae-and-gophernicus-gophermap-format/"
$ curl -s -o gophermap "$URL"
To convert the entire phlog to gophermap format, you could use my
gopher-get.tcl script.
$ tclsh gopher-get.tcl "
gopher://tilde.pink/1/~bencollver/log/"
gopher-get.tcl
<
gopher://tilde.pink/0/~bencollver/files/gopher/scripts/
gopher-get.tcl>
Note that gopher-get.tcl depends on TclCurl. For a Slackware
source package, see:
tclcurl.tgz
<
gopher://tilde.pink/9/~bencollver/files/tclcurl.tgz>
tags: bencollver,technical,unix
Tags
====
bencollver
<
gopher://tilde.pink/1/~bencollver/log/tag/bencollver/>
technical
<
gopher://tilde.pink/1/~bencollver/log/tag/technical/>
unix
<
gopher://tilde.pink/1/~bencollver/log/tag/unix/>