📅  最后修改于: 2022-03-11 15:00:55.929000             🧑  作者: Mango
Bash continue Statement
The continue statement skips the remaining commands inside the body of the enclosing loop for the current iteration and passes program control to the next iteration of the loop.
The syntax of the continue statement is as follows:
continue [n]
The [n] argument is optional and can be greater than or equal to 1. When [n] is given, the n-th enclosing loop is resumed. continue 1 is equivalent to continue.
In the example below, once the current iterated item is equal to 2, the continue statement will cause execution to return to the beginning of the loop and to continue with the next iteration.