Cheat sheet: awk

Use this handy quick reference guide to the most commonly used features of awk.

Blender Hotkey Cheat Sheet

Opensource.com

awk cheat sheet cover image

If you need to extract data from files, or simply display data in a new way, you need a script.

AWK is a scripting language that does exactly that in a straightforward way.

It's pretty easy to write scripts using awk to grab data from text files and transform that data for use elsewhere. AWK scripts can use regular expressions or other patterns to select data and use a host of standard functions to manipulate data and print output.

Use this handy cheat sheet to quickly reference most of awk's features.