From Torsten Berg@21:1/5 to All on Thu Sep 23 04:19:14 2021
You could take a look at SQAWK (https://github.com/dbohdan/sqawk) which is a Tcl implementation of an AWK-like program. Maybe you can get ideas from there or tweak it to work as a package instead of calling it externally as a CLI program.