|
|
1.1 root 1:
2:
3: until Command until
4:
5:
6:
7:
8: Execute commands repeatedly
9:
10: uunnttiill _s_e_q_u_e_n_c_e_1
11: [ ddoo _s_e_q_u_e_n_c_e_2 ]
12: done
13:
14: The shell's until loop executes the commands in sequence1. If
15: the exit status is nonzero, the shell then executes the commands
16: in the optional sequence2 and repeats the process until the exit
17: status of sequence1 is zero. Because the shell recognizes a
18: reserved word only as the unquoted first word of a command, both
19: do and done must occur either unquoted at the start of a line or
20: preceded by `;'.
21:
22: The shell commands break and continue may be used to alter con-
23: trol flow within an until loop. The contruct while has the same
24: form as until but the sense of the test is reversed.
25:
26: The shell executes until directly.
27:
28: ***** See Also *****
29:
30: break, commands, continue, sh, test, while
31:
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.