continue - Continue for, while, or until loop

Synopsis

continue [ n ]

Description

You can use continue to go to the top of the smallest enclosing for, while, or until loop or to the nth enclosing loop. Processing resumes with the first command at the top of the loop.

Options

None.

Operands

The value of n must be greater than or equal to 1.

Exit status

  • 0 when successful.