1.1. Introduction1.2. Conventions Used in This Book1.3. Matching Text1.3.1. Filenames Versus Patterns1.3.2. Metacharacters1.3.2.1. Search patterns1.3.2.2. Replacement patterns1.3.3. Metacharacters, Listed by Unix Program1.3.4. Examples of Searching1.3.4.1. Examples of searching and replacing1.4. The sed Editor1.4.1. Command-Line Syntax1.4.2. Syntax of sed Commands1.4.2.1. Pattern addressing1.4.2.2. Examples1.4.3. Group Summary of sed Commands1.4.3.1. Basic editing1.4.3.2. Line information1.4.3.3. Input/output processing1.4.3.4. Yanking and putting1.4.3.5. Branching commands1.4.3.6. Multiline input processing1.4.4. Alphabetical Summary of sed Commands1.5. The awk Programming Language1.5.1. Command-Line Syntax1.5.2. Important gawk Options1.5.3. Profiling with pgawk1.5.4. Patterns and Procedures1.5.4.1. Patterns1.5.4.2. Procedures1.5.4.3. Simple pattern-procedure examples1.5.5. Built-in Variables1.5.6. Operators1.5.7. Variable and Array Assignment1.5.7.1. Escape sequences1.5.8. Octal and Hexadecimal Constants in gawk1.5.9. User -Defined Functions1.5.10. Group Listing of awk Functions and Commands1.5.11. Coprocesses and Sockets with gawk1.5.12. Implementation Limits1.5.13. Alphabetical Summary of awk Functions and Commands1.5.13.1. Output redirections1.5.13.2. printf formats1.5.14. Internationalization with gawk1.6. Additional Resources1.6.1. Source Code1.6.2. Books