GNU Info

Info Node: (gawk.info)Getline Summary

(gawk.info)Getline Summary


Prev: Getline Notes Up: Getline
Enter node , (file) or (file)node

Summary of `getline' Variants
-----------------------------

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

`getline'                  Sets `$0', `NF', `FNR' and `NR'
`getline' VAR              Sets VAR, `FNR' and `NR'
`getline <' FILE           Sets `$0' and `NF'
`getline VAR < FILE'       Sets VAR
COMMAND `| getline'        Sets `$0' and `NF'
COMMAND `| getline' VAR    Sets VAR
COMMAND `|& getline'       Sets `$0' and `NF' (this is a `gawk'
                           extension)
COMMAND `|& getline' VAR   Sets VAR (this is a `gawk' extension)


automatically generated by info2www version 1.2.2.9