June 2003
Beginner to intermediate
944 pages
43h 1m
English
for
for (
item
in
array
)
command
For each item in an associative array, execute 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