# Awk ## Basics awk program file Program is ;-separated pattern-action statements. /pattern/ { action } `$0` is whole line, `$1`, `$2`, ... are fields separated by `FS` (by default, whitespace).