3 ms·
If you already know perl -pie well, then it may not be worth it to switch to Awk unless maybe you do a lot of embedded development. Awk is part of posix so is
by freedomben 7y ago
If you already know perl -pie well, then it may not be worth it to switch to Awk unless maybe you do a lot of embedded development.
Awk is part of posix so is pre-installed and available nearly everywhere, even on many embedded devices. Busybox for example includes an implementation of Awl. Even my super cheap home router had an awk interpreter on it. Perl is also decreasingly commonly installed. On the latest Fedora for example I had to install it explicitly. Awk is still installed by default.