Wiki source for CommandContinue


Show raw source

======Command continue======


====Name====
**continue** continues a for or while loop

====Synopsis====

continue [levels]


====Description====

The continue statement continues one or more levels of a while, for or until, skipping the remaining body.

If no arguments are supplied then 1 level is continued.


====Examples====

%%
for i in a b c d e ; do
if [ $i = "b" ] ; then
continue ;
fi
echo $i
done
%%

Results
%%
a
c
d
e
%%


----
[[Commands]]
[[CategoryCommands]]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki