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

NAME

12       continue - continue for, while, or until loop
13

SYNOPSIS

15       continue [n]
16

DESCRIPTION

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

OPTIONS

29       None.
30

OPERANDS

32       See the DESCRIPTION.
33

STDIN

35       Not used.
36

INPUT FILES

38       None.
39

ENVIRONMENT VARIABLES

41       None.
42

ASYNCHRONOUS EVENTS

44       Default.
45

STDOUT

47       Not used.
48

STDERR

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

OUTPUT FILES

53       None.
54

EXTENDED DESCRIPTION

56       None.
57

EXIT STATUS

59        0     Successful completion.
60
61       >0     The n value was not an unsigned decimal integer greater than  or
62              equal to 1.
63
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                  echo "\"$i\"" is not a directory.
80              done
81

RATIONALE

83       None.
84

FUTURE DIRECTIONS

86       None.
87

SEE ALSO

89       Special Built-In Utilities
90
92       Portions  of  this text are reprinted and reproduced in electronic form
93       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
94       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
95       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
96       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
97       event of any discrepancy between this version and the original IEEE and
98       The  Open Group Standard, the original IEEE and The Open Group Standard
99       is the referee document. The original Standard can be  obtained  online
100       at http://www.opengroup.org/unix/online.html .
101
102
103
104IEEE/The Open Group                  2003                         CONTINUE(1P)
Impressum