Chapter 11. Loops and Branches

 

What needs this iteration, woman?

--Shakespeare, Othello

Table of Contents
11.1. Loops
11.2. Nested Loops
11.3. Loop Control
11.4. Testing and Branching

Operations on code blocks are the key to structured and organized shell scripts. Looping and branching constructs provide the tools for accomplishing this.