UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: forChapter 11
The awk Programming Language
Next: Reference: function
 

for

for (item in array)
    statement

Special loop designed for reading associative arrays. For each element of the array, the statement is executed; the element can be referenced by array[item]. A series of statements must be put within braces.


Previous: Reference: for