3 ms·
The POSIX standard mandates awk. It does not mandate Perl or Python. <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html https://pubs.opengro
by dredmorbius 3y ago
The POSIX standard mandates awk.
It does not mandate Perl or Python.
<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/a...>
<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/contents.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c...>
There are many systems which lack Perl or Python, but include awk.
You might be carrying an Android device at the moment --- if you drop to its default userland, that provides a bunch of utilities, including awk, via Busybox. But not, so far as I'm aware, either Perl or Python.
(You can of course install Termux which will then give you both Perl and Python, along with Node.js, ruby, and a whole slew of other scripting and compiled languages. But so long as we're considering stock installs, it's sed and awk.)