Syntax

 < Day Day Up > 

A gawk command line has the following syntax:

 gawk [options] [program] [file-list] gawk [options]  f program-file [file-list] 

The gawk utility takes its input from files you specify on the command line or from standard input. An advanced command, getline, gives you more choices about where input comes from and how you read it. Using a coprocess, gawk can interact with another program or exchange data over a network. Unless you redirect output from gawk, it goes to standard output.

     < Day Day Up > 


    A Practical Guide to LinuxR Commands, Editors, and Shell Programming
    A Practical Guide to LinuxR Commands, Editors, and Shell Programming
    ISBN: 131478230
    EAN: N/A
    Year: 2005
    Pages: 213

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net