August 2000
Intermediate to advanced
816 pages
29h 45m
English
for
for( item in array )
command
For each item in an associative array, do command. Multiple commands must be put inside braces. Refer to each element of the array as array [ item ]. Elements of gawk arrays are stored in an order that enables access of any element in essentially equivalent time. This order may appear to be indiscriminate; if the output is desired in sorted order, you must pipe it through the sort command.
Read now
Unlock full access