1CONTINUE(1P)               POSIX Programmer's Manual              CONTINUE(1P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10
11

NAME

13       continue — continue for, while, or until loop
14

SYNOPSIS

16       continue [n]
17

DESCRIPTION

19       The continue utility shall return to the top of the smallest  enclosing
20       for,  while, or until loop, or to the top of the nth enclosing loop, if
21       n is specified. This involves repeating the condition list of  a  while
22       or  until loop or performing the next assignment of a for loop, and re-
23       executing the loop if appropriate.
24
25       The value of n is a decimal integer greater than or  equal  to  1.  The
26       default shall be equivalent to n=1.  If n is greater than the number of
27       enclosing loops, the outermost enclosing loop shall be used.
28

OPTIONS

30       None.
31

OPERANDS

33       See the DESCRIPTION.
34

STDIN

36       Not used.
37

INPUT FILES

39       None.
40

ENVIRONMENT VARIABLES

42       None.
43

ASYNCHRONOUS EVENTS

45       Default.
46

STDOUT

48       Not used.
49

STDERR

51       The standard error shall be used only for diagnostic messages.
52

OUTPUT FILES

54       None.
55

EXTENDED DESCRIPTION

57       None.
58

EXIT STATUS

60        0    Successful completion.
61
62       >0    The n value was not an unsigned decimal integer greater  than  or
63             equal to 1.
64

CONSEQUENCES OF ERRORS

66       Default.
67
68       The following sections are informative.
69

APPLICATION USAGE

71       None.
72

EXAMPLES

74       for i in *
75       do
76           if test −d "$i"
77           then continue
78           fi
79           printf '"%s" is not a directory.\n' "$i"
80       done
81

RATIONALE

83       None.
84

FUTURE DIRECTIONS

86       None.
87

SEE ALSO

89       Section 2.14, Special Built-In Utilities
90
92       Portions  of  this text are reprinted and reproduced in electronic form
93       from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
94       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
95       Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
96       cal  and  Electronics  Engineers,  Inc  and  The  Open Group.  (This is
97       POSIX.1-2008 with the 2013 Technical Corrigendum  1  applied.)  In  the
98       event of any discrepancy between this version and the original IEEE and
99       The Open Group Standard, the original IEEE and The Open Group  Standard
100       is  the  referee document. The original Standard can be obtained online
101       at http://www.unix.org/online.html .
102
103       Any typographical or formatting errors that appear  in  this  page  are
104       most likely to have been introduced during the conversion of the source
105       files to man page format. To report such errors,  see  https://www.ker
106       nel.org/doc/man-pages/reporting_bugs.html .
107
108
109
110IEEE/The Open Group                  2013                         CONTINUE(1P)
Impressum