grep Pocket Reference is the first guide devoted to grep, the powerful Unix content-location utility. This handy book is ideal for system administrators, security professionals, developers, and others who want to learn more about grep and take new approaches with it - for everything from mail filter
grep Pocket Reference: A Quick Pocket Reference for a Utility Every Unix User Needs (Pocket Reference (O'Reilly))
โ Scribed by John Bambenek, Agnieszka Klus
- Publisher
- O'Reilly Media
- Year
- 2009
- Tongue
- English
- Leaves
- 84
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
grep Pocket Reference is the first guide devoted to grep, the powerful Unix content-location utility. This handy book is ideal for system administrators, security professionals, developers, and others who want to learn more about grep and take new approaches with it -- for everything from mail filtering and system log management to malware analysis. With grep Pocket Reference, you will:
- Learn methods for filtering large files for specific content
- Acquire information not included in the current grep documentation
- Get several tricks for using variants such as egrep
- Keep key information about grep right at your fingertips
Find the answers you need about grep quickly and easily. If you're familiar with this utility, grep Pocket Reference will help you refresh your basic knowledge, understand rare situations, and work more efficiently. If you're new to grep, this book is the best way to get started.
โฆ Table of Contents
Table of Contents
Chapterย 1.ย grep Pocket Reference
Introduction
Conventions Used in This Book
Using Code Examples
Safariยฎ Books Online
Comments and Questions
Acknowledgments
From John Bambenek
From Agnieszka Klus
Conceptual Overview
Introduction to Regular Expressions
Quotation Marks and Regular Expressions
Metacharacters
POSIX Character Classes
Crafting a Regular Expression
grep Basics
Basic Regular Expressions (grep or grep -G)
Match Control
General Output Control
Output Line Prefix Control
Context Line Control
File and Directory Selection
Other Options
Extended Regular Expressions (egrep or grep -E)
Fixed Strings (fgrep or grep -F)
Perl-Style Regular Expressions (grep -P)
Character Types
Octal Searching
Character Properties
PCRE Options
Introduction to grep-Relevant Environment Variables
Choosing Between grep Types and Performance Considerations
When to Use grep -E
When to Use grep -F
When to Use grep -P
Performance Implications
Advanced Tips and Tricks with grep
Backreferences
Binary File Searching
Useful Recipes
IP addresses
MAC addresses
Email addresses
U.S.-based phone numbers
Social Security numbers
Credit card numbers
Copyright-protected or confidential material
Searching through large numbers of files
Matching strings across multiple lines
References
Index
๐ SIMILAR VOLUMES
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 ever
The table of contents is minimal, and the real reference content is in one big section of tags in alphabetical order, so you have to page down until you get to what you're looking for. Also, the 4th edition of the book from 2000 had great appendices with CSS information, but that's missing from thi
So if you have already bought C#3.0 in a nutshell from the same author, you don't need this at all.
Ready to take advantage of LINQ with C# 3.0? This guide has the detail you need to grasp Microsoft's new querying technology, and concise explanations to help you learn it quickly. And once you begin to apply LINQ, the book serves as an on-the-job reference when you need immediate reminders. All the