Next: Points to Remember About getline
, Previous: Using getline
from a Coprocess, Up: Explicit Input with getline
[Contents][Index]
getline
into a Variable from a CoprocessWhen 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 predefined variables are
changed and the record is not split into fields. The only variable
changed is var.
However, RT
is set.