Полезная информация

UNIX in a Nutshell: System V Edition

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

for

for (i=lower; i<=upper; i++)
    command

While the value of variable i is in the range between lower and upper, do command. A series of commands must be put within braces. <= or any relational operator can be used; ++ or -- can be used to increment or decrement the variable.


Previous: Reference: expUNIX in a Nutshell: System V EditionNext: Reference: for
Reference: expBook IndexReference: for

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