gawk: Intro Summary

1 
1 1.9 Summary
1 ===========
1 
1    * Programs in 'awk' consist of PATTERN-ACTION pairs.
1 
1    * An ACTION without a PATTERN always runs.  The default ACTION for a
1      pattern without one is '{ print $0 }'.
1 
1    * Use either 'awk 'PROGRAM' FILES' or 'awk -f PROGRAM-FILE FILES' to
1      run 'awk'.
1 
1    * You may use the special '#!' header line to create 'awk' programs
1      that are directly executable.
1 
1    * Comments in 'awk' programs start with '#' and continue to the end
1      of the same line.
1 
1    * Be aware of quoting issues when writing 'awk' programs as part of a
1      larger shell script (or MS-Windows batch file).
1 
1    * You may use backslash continuation to continue a source line.
1      Lines are automatically continued after a comma, open brace,
1      question mark, colon, '||', '&&', 'do', and 'else'.
1