Chapter 33. Miscellany

 

Nobody really knows what the Bourne shell's grammar is. Even examination of the source code is little help.

--Tom Duff

Table of Contents
33.1. Interactive and non-interactive shells and scripts
33.2. Operator Precedence
33.3. Shell Wrappers
33.4. Tests and Comparisons: Alternatives
33.5. Recursion
33.6. "Colorizing" Scripts
33.7. Optimizations
33.8. Assorted Tips
33.9. Security Issues
33.9.1. Infected Shell Scripts
33.9.2. Hiding Shell Script Source
33.9.3. Writing Secure Shell Scripts
33.10. Portability Issues
33.11. Shell Scripting Under Windows