field

In awk all input is separated into records and each record is further divided into fields.

Fields are referenced using special variables

Within the awk script, each field can be referenced by using dollarint operator.

 { print $3 }     # output field number three
 { print $12 }    # output field number twelve