Gawk/Array-Basics
From Get docs
Next: Numeric Array Subscripts, Up: Arrays [Contents][Index]
8.1 The Basics of Arrays
This section presents the basics: working with elements in arrays one at a time, and traversing all of the elements in an array.
• Array Intro | Introduction to Arrays | |
• Reference to Elements | How to examine one element of an array. | |
• Assigning Elements | How to change an element of an array. | |
• Array Example | Basic Example of an Array | |
• Scanning an Array | A variation of the for statement. It
loops through the indices of an array’s existing elements. | |
• Controlling Scanning | Controlling the order in which arrays are
scanned. |