learn_gnugrep_ripgrep

Example based guide to mastering GNU grep and ripgrep (by learnbyexample)

Learn_gnugrep_ripgrep Alternatives

Similar projects and alternatives to learn_gnugrep_ripgrep

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better learn_gnugrep_ripgrep alternative or higher similarity.

learn_gnugrep_ripgrep reviews and mentions

Posts with mentions or reviews of learn_gnugrep_ripgrep. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-10.
  • Learn GNU grep and ripgrep with hundreds of examples and exercises
    3 projects | /r/commandline | 10 May 2023
    Visit https://github.com/learnbyexample/learn_gnugrep_ripgrep for markdown source, example files, exercise solutions, sample chapters and other details related to the book.
  • Ask HN: Can I see your cheatsheet?
    37 projects | news.ycombinator.com | 29 Jun 2022
    I use my ebooks for reference:

    * GNU grep and ripgrep (https://learnbyexample.github.io/learn_gnugrep_ripgrep/)

    * GNU sed (https://learnbyexample.github.io/learn_gnused/)

    * GNU awk (https://learnbyexample.github.io/learn_gnuawk/)

    * Ruby one-liners cookbook (https://learnbyexample.github.io/learn_ruby_oneliners/)

    * Perl one-liners cookbook (https://learnbyexample.github.io/learn_perl_oneliners/)

    * Command line text processing with GNU Coreutils (https://learnbyexample.github.io/cli_text_processing_coreuti...)

    * Command line text processing with Rust tools (https://learnbyexample.github.io/cli_text_processing_rust/) — work-in-progress

    * Computing from the Command Line (https://learnbyexample.github.io/cli-computing/) — work-in-progress

  • exercises.
    5 projects | /r/linuxquestions | 14 Feb 2022
  • Grep Flags – The Good Stuff
    2 projects | news.ycombinator.com | 2 Feb 2022
    >The -I flag only considers text files. This radically speeds up recursive greps.

    I use ripgrep when I need better speed. I've pretty much switched to ripgrep these days, but still use GNU grep when I'm answering questions on stackoverflow, reddit, etc.

    >ABC flags

    Good to also know about `--group-separator` and `--no-group-separator` when there are multiple non-contiguous matches. Helps to customize the separator or remove them altogether. Sadly, these options are still not explained in `man grep` on Ubunutu. You'll have to use `info grep` or the online manual to find them.

    Options I use often that is not mentioned in the article:

    * `-c` to count the number of matches

    * `-F` for fixed string matching

    * `-x` to match whole lines

    * `-P` for PCRE (as mentioned in many comments here)

    * `--color=auto` this is part of command name alias, so it is always used

    I wrote a book as well on "GNU grep and ripgrep": https://github.com/learnbyexample/learn_gnugrep_ripgrep Free to read online.

  • Are there any good sites for linux exercises/drills?
    2 projects | /r/linuxadmin | 27 Nov 2021
    GNU grep and ripgrep
  • A note from our sponsor - SaaSHub
    www.saashub.com | 25 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic learn_gnugrep_ripgrep repo stats
6
304
3.1
10 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com