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: forUNIX in a Nutshell: System V EditionNext: Reference: function
Reference: forBook IndexReference: function

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System