Chapter 9. Variables Revisited

Table of Contents
9.1. Internal Variables
9.2. Manipulating Strings
9.2.1. Manipulating strings using awk
9.2.2. Further Discussion
9.3. Parameter Substitution
9.4. Typing variables: declare or typeset
9.5. Indirect References to Variables
9.6. $RANDOM: generate random integer
9.7. The Double Parentheses Construct

Used properly, variables can add power and flexibility to scripts. This requires learning their subtleties and nuances.