Chapter 5. Perl as a (better) awk command
A brief history of AWK
Comparing basic features of
Programming with Patterns and Actions
Matching ranges of records
Using relational and arithmetic operators
Using built-in functions
Using the AWK-to-Perl translator:
awk command is surely one of the most useful in the Unix toolkit. It’s even more important than
sed, because it can do everything they can do and more. That’s to be expected, because unlike those commands,
awk implements a general-purpose programming language (called AWK), which can handle many types of data-processing tasks.
This is why a Unix “power user” who’s asked ...