Description:This little book is everything a pocket reference should be. grep and egrep are not hard to use, but there are quite a few valid combinations of options, and this book pretty much covers them all. If you want to find expressions in one or more files, this is the tool to use. It's easy to forget everything available, so this book puts everything in one place for you. There's even a section on an option of grep that is only valid with PERL, so you may or may not have access to it. The following is the table of contents since it is not listed in the product description. One word of warning - if you don't already understand regular expressions this book won't teach it to you. It is indeed just a quick reference for concepts you should already know. The advanced tips and tricks section is the only exception to that rule and is itself worth the price of admission.
Chapter 1. grep Pocket Reference
Section 1.1. Introduction
Section 1.2. Conceptual Overview
Section 1.3. Introduction to Regular Expressions
Section 1.4. grep Basics
Section 1.5. Basic Regular Expressions (grep or grep -G)
Section 1.6. Extended Regular Expressions (egrep or grep -E)
Section 1.7. Fixed Strings (fgrep or grep -F)
Section 1.8. Perl-Style Regular Expressions (grep -P)
Section 1.9. Introduction to grep-Relevant Environment Variables
Section 1.10. Choosing Between grep Types and Performance Considerations
Section 1.11. Advanced Tips and Tricks with grep
Section 1.12. References