Dewey Decimal005.4/32
Table Of Content1. 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.
Edition DescriptionWorkbook
SynopsisThe quick, friendly, hands-on tutorial on UNIX programming with awk, sed and grep -- -- with exclusive access to an up-to-the-minute Web-based training site! Learn step-by-step how to solve practical problems with awk, sed and grep. Begin with a hands-on introduction to regular expressions and grep. Through interactive Labs, learn the fundamentals of sed, including addressing, commands, scripting and more. Walk step-by-step through the Awk language, writing simple programs, understanding data types, statements, expressions, patterns, actions, functions, arrays and I/O. Finally, put it all together with the Awk utility, learning techniques for printing, computation, and text processing. The accompanying Web site includes a Virtual Study Lounge where you can meet authors and other users; interactive testing modules that offer instant feedback; bonus projects and solutions; updates, new info, feedback areas and more., Start with a hands-on introduction to regular expressions and grep-including egrep and fast grep. Learn key sed fundamentals: addressing, scripting, plus all the commands youll need for substitution, deletion, printing, appending, listing, reading/writing, and more. Walk step-by-step through awk, writing simple programs, understanding data types, statements, expressions, patterns, actions, functions, control flow, arrays, and I/O-all you need to solve real-world problems Master awk and sed programming now Totally integrated with a FREE, state-of-the-art UNIX learning Web site Every UNIX Interactive Workbook is fully integrated with its own exclusive Web site, giving you all this and more: 'Test Your Thinking' project solutions and detailed explanations Authors Corner: Your personal connection to this books expert author Practice questions with instant feedback and explanations An exclusive message board where you can interact with other students Just the facts No endless, boring discussions here Youll learn hands-on, through practical exercises, self-review questions and real-world answers. Exclusive 'Test Your Thinking' projects guarantee youll go beyond rote knowledge to