getline
So far we have been getting our input data from awk
's main
input stream--either the standard input (usually your terminal, sometimes
the output from another program) or from the
files specified on the command line. The awk
language has a
special built-in command called getline
that
can be used to read input under your explicit control.
Go to the first, previous, next, last section, table of contents.