1CONTINUE(P) POSIX Programmer's Manual CONTINUE(P)
2
3
4
6 continue - continue for, while, or until loop
7
9 continue [n]
10
12 The continue utility shall return to the top of the smallest enclosing
13 for, while, or until loop, or to the top of the nth enclosing loop, if
14 n is specified. This involves repeating the condition list of a while
15 or until loop or performing the next assignment of a for loop, and re-
16 executing the loop if appropriate.
17
18 The value of n is a decimal integer greater than or equal to 1. The
19 default shall be equivalent to n=1. If n is greater than the number of
20 enclosing loops, the outermost enclosing loop shall be used.
21
23 None.
24
26 See the DESCRIPTION.
27
29 Not used.
30
32 None.
33
35 None.
36
38 Default.
39
41 Not used.
42
44 The standard error shall be used only for diagnostic messages.
45
47 None.
48
50 None.
51
53 0 Successful completion.
54
55 >0 The n value was not an unsigned decimal integer greater than or
56 equal to 1.
57
58
60 Default.
61
62 The following sections are informative.
63
65 None.
66
68 for i in *
69 do
70 if test -d "$i"
71 then continue
72 fi
73 echo "\"$i\"" is not a directory.
74 done
75
77 None.
78
80 None.
81
83 Special Built-In Utilities
84
86 Portions of this text are reprinted and reproduced in electronic form
87 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
88 -- Portable Operating System Interface (POSIX), The Open Group Base
89 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
90 Electrical and Electronics Engineers, Inc and The Open Group. In the
91 event of any discrepancy between this version and the original IEEE and
92 The Open Group Standard, the original IEEE and The Open Group Standard
93 is the referee document. The original Standard can be obtained online
94 at http://www.opengroup.org/unix/online.html .
95
96
97
98IEEE/The Open Group 2003 CONTINUE(P)