Preface. 1. Introduction to UNIX Shells. Definition and Function. System Startup and the Login Shell. Processes and the Shell. The Environment and Inheritance. Executing Commands from Scripts.
2. The UNIX Toolbox. Regular Expressions. Combining Regular Expression Metacharacters. 3. The grep Family. The grep Command. grep Examples with Regular Expressions.
grep with Pipes. grep with Options. egrep (Extended grep). Fixed grep or Fast grep . 4. sed , the Streamlined Editor. What Is sed ? How Does sed Work? Addressing. Commands and Options.
Error Messages and Exit Status. sed Examples. sed Scripting. 5. The awk Utility: awk as a UNIX Tool. What Is awk ? awk's Format. Formatting Output. awk Commands from Within a File.
Records and Fields. Patterns and Actions. Regular Expressions. awk Commands in a Script File. Review. 6. The awk Utility: awk Programming Constructs. Comparison Expressions.
Review. 7. The awk Utility: awk Programming. Variables. Redirection and Pipes. Pipes. Closing Files and Pipes. Review.
Conditional Statements. Loops. Program Control Statements. Arrays. awk Built-In Functions. Built-In Arithmetic Functions. User-Defined Functions ( nawk ). Review.
Odds and Ends. Review. 8. The Interactive Bourne Shell. Startup. Programming with the Bourne Shell. 9. The C Shell.
The Interactive C Shell. Programming with the C Shell. 10. The Korn Shell. Interactive Korn Shell. Programming with the Korn Shell. 11. The Interactive bash Shell.
Introduction. Command Line Shortcuts. Variables. 12. Programming with the bash Shell. Introduction. Reading User Input. Arithmetic.
Positional Parameters and Command Line Arguments. Conditional Constructs and Flow Control. Looping Commands. Functions. Trapping Signals. Debugging. Processing Command Line Options with getopts . The eval Command and Parsing the Command Line.
bash Options. Shell Built-In Commands. 13. The Interactive TC Shell. Introduction. The TC Shell Environment. Command Line Shortcuts. Job Control.
Metacharacters. Redirection and Pipes. Variables. Arrays. Special Variables and Modifiers. Command Substitution. Quoting. Built-In Commands.
Appendix A: Useful UNIX Utilities for Shell Programmers. Appendix B: Comparison of the Shells. Appendix C: Steps for Using Quoting Correctly. Index.