manpagez: man pages & more
man continue(1)
Home | html | info | man
continue(1)                          fish                          continue(1)




NAME

       continue - skip the rest of the current lap of the innermost currently
       evaluated loop


   Synopsis
       LOOP_CONSTRUCT; [COMMANDS...;] continue; [COMMANDS...;] end

   Description
       The continue builtin is used to skip the current lap of the innermost
       currently running loop, such as a for loop or a while loop. It is
       usually added inside of a conditional block such as an if statement or
       a switch statement.

   Example
       The following code removes all tmp files without smurfs.



       for i in *.tmp
           if grep smurf $i
               continue
           end
           rm $i
       end





Version 1.23.1                    8 Mar 2009                       continue(1)

fish 1.23.1 - Generated Sun Mar 8 13:57:48 CDT 2009
© manpagez.com 2000-2021
Individual documents may contain additional copyright information.