Chapter 10. Loops and Branches

 

What needs this iteration, woman?

--Shakespeare, Othello

Table of Contents
10.1. Loops
10.2. Nested Loops
10.3. Loop Control
10.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.