3 ms·
My first question to any programming question is, "can I reasonably solve this with awk?" exactly for its ubiquity. I stick to the POSIX standard for the reaso
by statquontrarian 3y ago
My first question to any programming question is, "can I reasonably solve this with awk?" exactly for its ubiquity.
I stick to the POSIX standard for the reasons you note: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html 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.