Monday, July 7, 2014

Awk multiple field separators

The syntax for specifying multiple field separators for Awk is actually pretty convenient:
awk -F "abcd" {'commands'}

Link:
http://www.commandlinefu.com/commands/view/1319/awk-using-multiple-field-separators

And here's a nice basic syntax tutorial that I found on the way the previous link:
http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/