gawk: Patterns and Actions
1
1 7 Patterns, Actions, and Variables
1 **********************************
1
1 As you have already seen, each 'awk' statement consists of a pattern
1 with an associated action. This major node describes how you build
1 patterns and actions, what kinds of things you can do within actions,
1 and 'awk''s predefined variables.
1
1 The pattern-action rules and the statements available for use within
1 actions form the core of 'awk' programming. In a sense, everything
1 covered up to here has been the foundation that programs are built on
1 top of. Now it's time to start building something useful.
1
Menu