GNU GREP and RIPGREP The search is on

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Sundeep Agarwal
Publisher: Sundeep Agarwal
Year: 2019

Language: English
Pages: 107

Preface
Prerequisites
Acknowledgements
Feedback and Errata
Author info
License
Book version
Introduction
Installation
Options overview
Frequently used options
Simple string search
Case insensitive search
Invert matching lines
Line number and count
Limiting output lines
Multiple search strings
Filename instead of matching lines
Filename prefix for matching lines
Colored output
Match whole word or line
Extract only matching portion
Exercises
BRE/ERE Regular Expressions
Line Anchors
Word Anchors
Alternation
Grouping
Escaping metacharacters
The dot meta character
Greedy Quantifiers
Character classes
Backreferences
Exercises
Context matching
-A
-B
-C
Contiguous matches
Customizing separators
Exercises
Recursive search
-r and -R
Customize search path
Extended globs
Using find command
Piping filenames
Exercises
Miscellaneous options
Scripting options
Multiline matching
Byte offset
--label
Options not covered
Exercises
Perl Compatible Regular Expressions
BRE/ERE vs PCRE subtle differences
String anchors
Escape sequences
Non-greedy quantifiers
Possessive quantifiers
Grouping variants
Lookarounds
Variable length lookbehind
Modifiers
\Q and \E
\G anchor
Skipping matches
Recursive matching
Unicode
Exercises
Gotchas and Tricks
ripgrep
Installation
Default behavior
Options overview
Literal search
Case insensitive search
Invert matching lines
Line number and count
Limiting output lines
Multiple search strings
Filename instead of matching lines
Filename prefix for matching lines
Colored output
Match whole word or line
Extract only matching portion
Context matching
Scripting options
Byte offset
Rust Regex
Line Anchors
Word Anchors
String anchors
Alternation
Grouping
Escaping metacharacters
The dot meta character
Greedy Quantifiers
Non-greedy quantifiers
Character classes
Backreferences
Modifiers
Unicode
PCRE2
Recursive options
Speed comparison
ripgrep-all
Exercises
Further Reading