(gawk.info.gz) Getline/Variable/Coprocess
Info Catalog
(gawk.info.gz) Getline/Coprocess
(gawk.info.gz) Getline
(gawk.info.gz) Getline Notes
4.9.8 Using `getline' into a Variable from a Coprocess
------------------------------------------------------
When you use `COMMAND |& getline VAR', the output from the coprocess
COMMAND is sent through a two-way pipe to `getline' and into the
variable VAR.
In this version of `getline', none of the built-in variables are
changed and the record is not split into fields. The only variable
changed is VAR.
Coprocesses are an advanced feature. They are discussed here only
because this is the minor node on `getline'. Two-way I/O,
where coprocesses are discussed in more detail.
Info Catalog
(gawk.info.gz) Getline/Coprocess
(gawk.info.gz) Getline
(gawk.info.gz) Getline Notes
automatically generated by
info2html