continue in Mac OS X

By: Strauss K Viewed: 153209 times  Printer Friendly Format    


Resume the next iteration of the enclosing for, while, until, or select loop.

Syntax
      continue [n]

Key
    -n   Resume at the nth enclosing loop

n must be >= 1. 
If n is greater than the number of enclosing loops, the last enclosing loop (the ``top-level'' loop) is resumed.

The return value is 0 unless the shell is not executing a loop when continue is executed.

continue is a bash builtin command



Most Viewed Articles (in macos )

Latest Articles (in macos)

Comment on this tutorial