1.Regular Expressions and Metacharacters. L A B 1.1 Using the period and backslash metacharacters. Test Your Thinking.
2.Character Class, Hyphen, and Caret Metacharacters. L A B 2.1 The Character Class, Hyphen, and Caret Metacharacters. Test Your Thinking.
3.What Is Grep and What Does It Do? L A B 3.1 Getting Started with Grep. Test Your Thinking.
4.Using Grep with Regular Expressions. L A B 4.1 Regular Expressions and Grep. L A B 4.2 fgrep and egrep. L A B. Using the Anchor Metacharacter. Test Your Thinking.
5.Introduction to sed. L A B 5.1 Getting Started with sed. Test Your Thinking.
6.Sed Syntax and Addressing. L A B 6.1 Sed Syntax and Addressing. Test Your Thinking.
7.Sed Commands. L A B 7.1 The Substitution Command. L A B 7.2 The Delete Command. L A B 7.3 The Append, Insert, and Change Commands. L A B 7.4 The List and Transform Commands. L A B 7.5 The Print and Next Commands. L A B 7.6 The Read and Write Commands. Test Your Thinking.
8.Multiline Pattern Space Commands. L A B 8.1 The Multiline Next, Delete, and Print Commands. Test Your Thinking.
9.An Awk Program. L A B 9.1 An Example Awk Program. L A B 9.2 The Structure of an Awk Program. L A B 9.3 Invoking an Awk Program. Test Your Thinking.
10.Basic Awk Language Elements. L A B 10.1 Awk Statements and Expressions. L A B 10.2 Awk Strings. L A B 10.3 Awk Numbers. L A B 10.4 Coercion. L A B 10.5 awk Assignment operator. Test Your Thinking.
11.Variables. L A B 11.1 Field Variables. L A B 11.2 User-Defined Variables. L A B 11.3 Built-In Variables. Test Your Thinking.
12.Operators. L A B 12.1 Arithmetic Operators. L A B 12.2 the Assignment Statement. L A B 12.3 Logical and Relational Operators, and Conditional Expressions. Test Your Thinking.
13.Built-in Functions, Precedence, Associativity, and Machine Limits. L A B 13.1 Built-In Arithmetic Functions. L A B 13.2 Built-In String Functions. L A B 13.3 Patterns, Precedence, Associativity, and Machine Limits. Test Your Thinking.
14.Awk Control Flow. L A B 14.1 The If-Else Statement. L A B 14.2 The While and Do Statements. L A B 14.3 The For Statement. L A B 14.4 Loop and Program Control. Test Your Thinking.
15.Awk Arrays and Functions. L A B 15.1 Awk Arrays. L A B 15.2 Awk User-Defined Functions. Test Your Thinking.
16.Advanced Input and Output. L A B 16.1 The printf and sprintf Statements. L A B 16.2 Output into Pipes, Files, and the Getline Function. Test Your Thinking.
APPENDIX A Answers to Self-Review Questions. APPENDIX B Awk, Sed, and Grep Reference. INDEX.