4 ms·
The previous edition of that book is the one I read lol. A great book. You can really feel the author's love of the language.
by 7thaccount 1y ago
The previous edition of that book is the one I read lol. A great book. You can really feel the author's love of the language.
- sph 1y agoThank you and GP for the recommendation, just bought the book, seems pretty good! Now I wonder whether it's a good idea to replace my shell with tclsh... seems a lot more sane than bash/zsh.
- 7thaccount 1y agoBash is pretty good for really small scripts. Anything bigger and I have reached for Perl, Python, or Tcl in the past ... depending on what IT had installed on the server.
- bandoti 1y agoDefinitely would be interesting to use it in that way! The nice thing about Tcl is the syntax is clean (in brevity and understanding). Basic features like piping, file globbing, encoding conversions, compression, and so-forth are intuitive. If you’re interested, I have various Tclkits available for download on GitHub. I have added dependencies to them like TLS for HTTPS and so-forth. It can be convenient to have them standalone; the TLS extension here is bundled with the ca certs from libcurl. https://github.com/tclmonster/kitcreator/releases/latest https://github.com/tclmonster/kitcreator/releases/latest And here’s an example how I use the kits in the CI build. It uses the kit it builds to push the update using the TLS extension along with the GitHub REST API: https://github.com/tclmonster/kitcreator/blob/main/.github/scripts/create-release.tcl https://github.com/tclmonster/kitcreator/blob/main/.github/s...