Extracting and displaying data with awk

GNU awk (“gawk”) is the free software version of awk. It’s pretty easy to write scripts using gawk to grab data from text files and transform that data for use elsewhere. Gawk scripts can use regular expressions or other patterns to select data and use a host of standard functions to manipulate data and print output.