logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

continue.1p (2918B)


  1. '\" et
  2. .TH CONTINUE "1P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. continue
  12. \(em continue for, while, or until loop
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. continue \fB[\fIn\fB]\fR
  17. .fi
  18. .SH DESCRIPTION
  19. If
  20. .IR n
  21. is specified, the
  22. .IR continue
  23. utility shall return to the top of the
  24. .IR n th
  25. enclosing
  26. .BR for ,
  27. .BR while ,
  28. or
  29. .BR until
  30. loop. If
  31. .IR n
  32. is not specified,
  33. .IR continue
  34. shall behave as if
  35. .IR n
  36. was specified as 1. Returning to the top of the loop involves
  37. repeating the condition list of a
  38. .BR while
  39. or
  40. .BR until
  41. loop or performing the next assignment of a
  42. .BR for
  43. loop, and re-executing the loop if appropriate.
  44. .P
  45. The value of
  46. .IR n
  47. is a positive decimal integer. If
  48. .IR n
  49. is greater than the number of enclosing loops, the outermost enclosing loop
  50. shall be used. If there is no enclosing loop, the behavior is unspecified.
  51. .P
  52. The meaning of ``enclosing'' shall be as specified in the description of the
  53. .IR break
  54. utility.
  55. .SH OPTIONS
  56. None.
  57. .SH OPERANDS
  58. See the DESCRIPTION.
  59. .SH STDIN
  60. Not used.
  61. .SH "INPUT FILES"
  62. None.
  63. .SH "ENVIRONMENT VARIABLES"
  64. None.
  65. .SH "ASYNCHRONOUS EVENTS"
  66. Default.
  67. .SH STDOUT
  68. Not used.
  69. .SH STDERR
  70. The standard error shall be used only for diagnostic messages.
  71. .SH "OUTPUT FILES"
  72. None.
  73. .SH "EXTENDED DESCRIPTION"
  74. None.
  75. .SH "EXIT STATUS"
  76. .IP "\00" 6
  77. Successful completion.
  78. .IP >0 6
  79. The
  80. .IR n
  81. value was not an unsigned decimal integer greater than or equal to 1.
  82. .SH "CONSEQUENCES OF ERRORS"
  83. Default.
  84. .LP
  85. .IR "The following sections are informative."
  86. .SH "APPLICATION USAGE"
  87. None.
  88. .SH EXAMPLES
  89. .LP
  90. .nf
  91. for i in *
  92. do
  93. if test -d "$i"
  94. then continue
  95. fi
  96. printf \(aq"%s" is not a directory.\en\(aq "$i"
  97. done
  98. .fi
  99. .SH "RATIONALE"
  100. None.
  101. .SH "FUTURE DIRECTIONS"
  102. None.
  103. .SH "SEE ALSO"
  104. .IR "Section 2.14" ", " "Special Built-In Utilities"
  105. .\"
  106. .SH COPYRIGHT
  107. Portions of this text are reprinted and reproduced in electronic form
  108. from IEEE Std 1003.1-2017, Standard for Information Technology
  109. -- Portable Operating System Interface (POSIX), The Open Group Base
  110. Specifications Issue 7, 2018 Edition,
  111. Copyright (C) 2018 by the Institute of
  112. Electrical and Electronics Engineers, Inc and The Open Group.
  113. In the event of any discrepancy between this version and the original IEEE and
  114. The Open Group Standard, the original IEEE and The Open Group Standard
  115. is the referee document. The original Standard can be obtained online at
  116. http://www.opengroup.org/unix/online.html .
  117. .PP
  118. Any typographical or formatting errors that appear
  119. in this page are most likely
  120. to have been introduced during the conversion of the source files to
  121. man page format. To report such errors, see
  122. https://www.kernel.org/doc/man-pages/reporting_bugs.html .