6
echo "Printing Numbers 1 through 20 (but not 3 and 11)."
10
while [ $a -le "$LIMIT" ]
14
if [ "$a" -eq 3 ] || [ "$a" -eq 11 ] # Excludes 3 and 11.
16
continue # Skip rest of this particular loop iteration.
19
echo -n "$a " # This will not execute for 3 and 11.
23
# Why does the loop print up to 20?
27
echo Printing Numbers 1 through 20, but something happens after 2.
29
##################################################################
31
# Same loop, but substituting 'break' for 'continue'.
35
while [ "$a" -le "$LIMIT" ]
41
break # Skip entire rest of loop.