An awk command line has the following syntax: awk [options] [program] [file-list] awk [options] f program-file [file-list] The awk 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. Unless you redirect output from awk, it goes to standard output. |