.TH "continue" 1 "8 Feb 2007" "Version 1.22.3" "fish" \" -*- nroff -*- .ad l .nh .SH NAME continue - skip the rest of the current lap of the innermost currently evaluated loop .PP .SS "Synopsis" \fCLOOP_CONSTRUCT; [COMMANDS...;] continue; [COMMANDS...;] end\fP .SS "Description" The \fCcontinue\fP builtin is used to skip the current lap of the innermost currently running loop, such as a \fCfor\fP loop or a \fCwhile\fP loop. It is usually added inside of a conditional block such as an \fCif\fP statement or a \fCswitch\fP statement. .SS "Example" The following code removes all tmp files without smurfs. .PP .PP .nf for i in *.tmp if grep smurf $i continue end rm $i end .fi .PP