I think AWK is massively underrated these days.
I think AWK is massively underrated these days.
My qualm with AWK is its inability to select field via regular expression groups (it could select _record_ with regular expression, but not _field_).
If I really had to use more powerful tool for this kind of usage,
or when I had to come up with things on the go as one-liner,
then I would use Perl. [2]
But I'm aware that while Perl can be installed nearly anywhere [3],
...
[3] Hell, I even have Perl in one of my FreeDOS installations.
it is not _automatically_ installed everywhere; especially
in embedded Unix-like systems [4]; while AWK and Sed are often available there out of the box.
To this day, most of my AWK usage are mostly isolated; the next thing
I'm looking forward to try is making AWK conspire with Sed in various ways, and maybe taking advantage of its floating-point arithmetic ability too.
Cheers for minimal computing,
| Sysop: | deepend |
|---|---|
| Location: | Calgary, Alberta |
| Users: | 288 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 20:23:25 |
| Calls: | 2,452 |
| Files: | 5,325 |
| D/L today: |
29 files (8,192P bytes) |
| Messages: | 445,519 |