UNIX in a Nutshell: System V Edition

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

for

for (item in array)
     command

For each item in an associative array, do command. More than one command must be put inside braces. Refer to each element of the array as array[item].


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