Cheat sheet: awk

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

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.

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.