continue (built-in Bash command)

Content

 

Data

License: GNU GPLv3 +
Version number: GNU Bash 5
Developer / owner: Free Software Foundation Inc.

Short description:

The manual page and help for the continue built-in Bash command. The continue command continues the next iteration in the for, while, until, or select loops. If parameter n is specified, it continues to run from the nth cycle. In this case, n must be greater than 1.

 

 

Man page output

man bash
[...]
       continue [n]
              Resume the next iteration of the enclosing for, while, until, or select loop.  If n
              is  specified,  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 n is not greater than or equal to
              1.
[...]

 

 

Help output

continue --help
continue: continue [n]
    A for, while vagy until ciklus újrakezdése.
    
    A következő iterációtól folytatja a FOR, WHILE vagy UNTIL ciklust.
    Ha N meg van adva, akkor N egymásba ágyazott ciklusból lép ki.
    
    Kilépési kód:
    A kilépési kód 0, ha N >= 1.

 

Related Content

  •