Go to the first, previous, next, last section, table of contents.


Summary of getline Variants

The following table summarizes the eight variants of getline, listing which built-in variables are set by each one.

getlinegetlinevargetline <filegetline var < filecommand| getlinecommand| getlinevarcommand|& getlinecommand|& getlinevar
Sets $0, NF, FNR and NR
Sets var, FNR and NR
Sets $0 and NF
Sets var
Sets $0 and NF
Sets var
Sets $0 and NF (this is a @command{gawk} extension)
Sets var (this is a @command{gawk} extension)


Go to the first, previous, next, last section, table of contents.