| www.delorie.com/gnu/docs/gawk/gawk_54.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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 section on getline.
See section Two-Way Communications with Another Process,
where coprocesses are discussed in more detail.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |