home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: exp Chapter 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: exp UNIX in a Nutshell: System V Edition Next: Reference: for
Reference: exp Book Index Reference: for

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