Go to the first, previous, next, last section, table of contents.


Arrays in awk

An array is a table of values, called elements. The elements of an array are distinguished by their indices. Indices may be either numbers or strings. awk maintains a single set of names that may be used for naming variables, arrays and functions (see section User-defined Functions). Thus, you cannot have a variable and an array with the same name in the same awk program.


Go to the first, previous, next, last section, table of contents.