|
|
1.1 ! root 1: ! 2: ! 3: for Command for ! 4: ! 5: ! 6: ! 7: ! 8: Execute commands for tokens in list ! 9: ! 10: ffoorr _n_a_m_e [iinn _t_o_k_e_n ...] ! 11: do ! 12: sequence ! 13: done ! 14: ! 15: The shell command for controls a loop. It assigns to the vari- ! 16: able name each successive token in the list, and then executes ! 17: the commands in the given sequence. If the in clause is omitted, ! 18: for successively assigns name the value of each positional ! 19: parameter to the current script (`$@'). Because the shell recog- ! 20: nizes a reserved word only as the unquoted first word of a com- ! 21: mand, both do and done must either occur unquoted at the start of ! 22: a command or be preceded by '`'. ! 23: ! 24: The shell commands break and continue may be used to alter con- ! 25: trol flow within a for loop. ! 26: ! 27: sh executes for directly. ! 28: ! 29: ***** See Also ***** ! 30: ! 31: break, commands, continue, sh ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.