Shell
You're viewing a free preview. Sign in free to read every script.
Why this exists grep finds lines and cut picks columns, but as soon as you need a total, a count per group or a join, you want awk. It is a small programming language built for line oriented data, and it is installed…
awk in Depth: Field Processing, Associative Arrays, Joins and Reports
How awk actually works (pattern and action), field and record variables, printf, counting and summing with associative arrays, joining two files, removing duplicates, ranges, and a complete access-log report in one command.
Sign in free to read this script, along with the rest of the library.
Sign in free