bits 11.
- Awk is executed using
awk 'awk_program' data-file. - Awk programs follow the form
pattern { action }; pattern { action };. BEGINblocks are executed before reading the data files.ENDblocks are executed after reading the data files.NRis a variable that indicates the number of records (rows) read so far.-F '<separator>'is used to define a field separator for a file.- A space is the default field separator.
FPATis a regex used to define the pattern for each field.FPATis specifically defined in Gawk.