DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(gawk) Getline

Info Catalog (gawk) Multiple Line (gawk) Reading Files
 
 Explicit Input with `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.
 

Menu

 
* Getline Intro            Introduction to the `getline' function.
* Plain Getline            Using `getline' with no arguments.
* Getline/Variable         Using `getline' into a variable.
* Getline/File             Using `getline' from a file.
* Getline/Variable/File    Using `getline' into a variable from a
                              file.
* Getline/Pipe             Using `getline' from a pipe.
* Getline/Variable/Pipe    Using `getline' into a variable from a
                              pipe.
* Getline Summary          Summary Of `getline' Variants.
 
Info Catalog (gawk) Multiple Line (gawk) Reading Files
automatically generated byinfo2html