Break
Appearance
General
- Escapes from an enclosing loop before the controlling condition is mest
- php book explains break really well
- you can use a param to define the number of loops to break out of
- it's usually used with an if statement inside of a loop
Examples
if [ -d "$file" ]; then break fi