[Next] [Previous] [Up] [Top] [Contents]

9.9 Control Commands

9.9.3 for and foreach

One way to loop through a list of string values is with the for and foreach commands.

9.9.3.1 - Sh
9.9.3.2 - Csh

Introduction to Unix - 14 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]