All Projects → learnbyexample → Learn_gnugrep_ripgrep

learnbyexample / Learn_gnugrep_ripgrep

Licence: mit
Example based guide to mastering GNU grep and ripgrep

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Learn gnugrep ripgrep

Learn gnuawk
Example based guide to mastering GNU awk
Stars: ✭ 727 (+256.37%)
Mutual labels:  command-line, exercises, gnu, regex
Py regular expressions
Learn Python Regular Expressions step by step from beginner to advanced levels
Stars: ✭ 770 (+277.45%)
Mutual labels:  ebook, learning-by-doing, exercises, regex
Command Line Text Processing
⚡ From finding text to search and replace, from sorting to beautifying text and more 🎨
Stars: ✭ 9,771 (+4689.71%)
Mutual labels:  command-line, ebook, regex, grep
Ruby Regexp
Learn Ruby Regexp step by step from beginner to advanced levels with plenty of examples and exercises
Stars: ✭ 79 (-61.27%)
Mutual labels:  regex, ebook, exercises, learning-by-doing
Ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Stars: ✭ 28,564 (+13901.96%)
Mutual labels:  command-line, regex, grep
learn js regexp
Example based guide to mastering JavaScript regexp
Stars: ✭ 85 (-58.33%)
Mutual labels:  regex, ebook, exercises
Javascript Exercises
📚 Collection of JavaScript exercises and coding challenges.
Stars: ✭ 385 (+88.73%)
Mutual labels:  learning-by-doing, exercises
Ugrep
🔍NEW ugrep v3.1: ultra fast grep with interactive query UI and fuzzy search: search file systems, source code, text, binary files, archives (cpio/tar/pax/zip), compressed files (gz/Z/bz2/lzma/xz/lz4), documents and more. A faster, user-friendly and compatible grep replacement.
Stars: ✭ 626 (+206.86%)
Mutual labels:  regex, grep
Sakura
SAKURA Editor (Japanese text editor for MS Windows)
Stars: ✭ 689 (+237.75%)
Mutual labels:  regex, grep
Teip
Select partial standard input and replace with the result of another command efficiently
Stars: ✭ 280 (+37.25%)
Mutual labels:  command-line, grep
Ziglings
Learn the Zig programming language by fixing tiny broken programs.
Stars: ✭ 708 (+247.06%)
Mutual labels:  learning-by-doing, exercises
Fsq
A tool for querying the file system with a SQL-like language.
Stars: ✭ 60 (-70.59%)
Mutual labels:  command-line, regex
Linux command line
💻 Introduction to Linux commands and Shell scripting
Stars: ✭ 378 (+85.29%)
Mutual labels:  command-line, ebook
Fd
A simple, fast and user-friendly alternative to 'find'
Stars: ✭ 19,851 (+9630.88%)
Mutual labels:  command-line, regex
50 Projects For React And The Static Web
⚛ 50 project ideas to learn by doing complete with project briefs, layout ideas, and resources!
Stars: ✭ 319 (+56.37%)
Mutual labels:  ebook, learning-by-doing
100 page python intro
🐍 Short, introductory guide for the Python programming language 📗 ⚡️
Stars: ✭ 90 (-55.88%)
Mutual labels:  ebook, learning-by-doing
Ruplacer
Find and replace text in source files
Stars: ✭ 201 (-1.47%)
Mutual labels:  command-line, grep
Xioc
Extract indicators of compromise from text, including "escaped" ones.
Stars: ✭ 148 (-27.45%)
Mutual labels:  command-line, regex
splinter
Simple pattern-based linter 🐀
Stars: ✭ 31 (-84.8%)
Mutual labels:  regex, grep
Rare
Fast, realtime regex-extraction, and aggregation into common formats such as histograms, numerical summaries, tables, and more!
Stars: ✭ 76 (-62.75%)
Mutual labels:  regex, grep

GNU GREP and RIPGREP

Example based guide to mastering GNU grep and ripgrep.

The book also includes exercises to test your understanding, which is presented together as a single file in this repo - Exercises.md

For solutions to the exercises, see Exercise_solutions.md.

See Version_changes.md to keep track of changes made to the book.


E-book

You can purchase the book using these links:

For a preview of the book, see sample chapters

The book can also be viewed as a single markdown file in this repo. See my blogpost on generating pdf from markdown using pandoc if you are interested in the ebook creation process.

For web version of the book, visit https://learnbyexample.github.io/learn_gnugrep_ripgrep/


Feedback

Please open an issue if you spot any typo/errors.

I'd also highly appreciate your feedback about the book.

Goodreads: https://www.goodreads.com/book/show/47406700-gnu-grep-and-ripgrep

Twitter: https://twitter.com/learn_byexample


Table of Contents

  1. Preface
  2. Introduction
  3. Frequently used options
  4. BRE/ERE Regular Expressions
  5. Context matching
  6. Recursive search
  7. Miscellaneous options
  8. Perl Compatible Regular Expressions
  9. Gotchas and Tricks
  10. ripgrep
  11. Further Reading

Acknowledgements

Special thanks to all my friends and online acquaintances for their help, support and encouragement, especially during difficult times.


License

The book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

The code snippets are licensed under MIT, see LICENSE file

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].