383 karma · joined September 8, 2015
There is a tutorial on the Tcl wiki which should be reasonably up-to-date - https://wiki.tcl-lang.org/page/Tcl+Tutorial+Lesson+0 .
I don't know if this would meet your needs, but from Tcl you could use `exec` to run these commands and read the result.
This is still using Tcl8.6 though, it will take time for all these packages to be updated to work with Tcl9.0. I am actually running tclhttpd with Tcl9.0 myself, after making a handful of tweaks for compatibility.
I used to have the opposite problem. My employer would not allow me to write anything mission-critical in Tcl because they thought other people would not be able to maintain it. But now that I'm retired I can write as much Tcl as I like, which is quite a lot :-)
There's lots of new stuff, and some old cruft has been dumped, so some programs may need a few updates, but there's still a high level of compatibility. The page above links to release notes with details of what's in and what's out.
Here's an example that was topical back then: https://cmacleod.me.uk/tcl/magick/boris.gif .
There is also a fair amount of activity on the Tcl Wiki: https://wiki.tcl-lang.org .
A while back I wrote a blog post about why I think Tcl is special - https://colin-macleod.blogspot.com/2020/10/why-im-tcl-ish.ht... .