by RodgerTheGreat · 2y ago · 0 comments
There are a variety of small features which could greatly enhance the flexibility of awk, including things described in this article and more ambitious ideas like making associative arrays first-class values, but if they aren't broadly supported, I don't imagine they'd have much impact. If I need to install a specific version of awk to run a script (and I have the ability to do so), I could just as easily install one of dozens of other capable scripting languages instead.
I stick to the POSIX standard for the reasons you note: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/a...
If POSIX awk is insufficient, then I probably should be using something other than awk, so its limits are actually a good guardrail; however, it's shocking how powerful POSIX awk is with built-in arrays, hashmaps, regular expressions, etc., although no doubt there are quirks.
Also being able to use https://p3rl.org/App::FatPack to bundle (pure perl) dependencies along with your code into a single script file to ship around makes life significantly easier deployment-wise (and https://p3rl.org/Object::Remote allows for 'no deployment at all', it runs 'ssh <target> perl -' and ships the code it needs across the wire on connect).