BurntSushi/ripgrep
View on GitHub ↗ ★ 69,642 Rust
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
334 mentions on Hacker News by 196 people: 28 stories, 306 comments · first 2016-09-23 · latest 2026-10-05
20082026
-
…[3]: https://github.com/p-ranav/hypergrep/blob/ee85b713aa84e0050a... [4]: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#why... [5]: https://github.com/BurntSushi/rebar/blob/96c6779b7e1cdd850b8...
comment by burntsushi · 2023-12-31 · in Ugrep – a more powerful, fast, user-friendly, compatible grep -
…It took 86 seconds to index a Linux kernel tree, while csearch's cindex tool took 8 seconds. [1] https://github.com/BurntSushi/ripgrep/issues/1497
comment by comex · 2023-12-30 · in Ugrep – a more powerful, fast, user-friendly, compatible grep -
…account the things BurntSushi (ripgrep author) pointed out in the ripgrep issue link elsewhere ITT? https://github.com/BurntSushi/ripgrep/discussions/2597 Either way, ripgrep is awesome and I’m staying with it.
comment by codetrotter · 2023-12-30 · in Ugrep – a more powerful, fast, user-friendly, compatible grep -
Here's a thread on performance vs rg (ripgrep). https://github.com/BurntSushi/ripgrep/discussions/2597 didn't know about hypergrep either.
comment by graphe · 2023-12-30 · in Ugrep – a more powerful, fast, user-friendly, compatible grep -
…from one of my projects, where you can clearly see that not every commit has a green checkmark: https://github.com/BurntSushi/ripgrep/commits/master/ I run dozens of projects this way. I've never had a major issue because it just isn't a…
comment by burntsushi · 2023-12-30 · in The merge vs. rebase debate -
Never will be: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... If you need drop-in compatibility with grep, then use grep. :-)
comment by burntsushi · 2023-11-30 · in Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016) -
▲ 2
RFC: Add ngram indexing support to ripgrep (2020)story by tosh · 2023-11-30 · 2 comments
-
…page. But that's now part of ripgrep proper. e.g., `rg --generate man` writes roff to stdout. [1]: https://github.com/BurntSushi/ripgrep/blob/2a4dba3fbfef944c5... [2]: https://github.com/BurntSushi/ripgrep/blob/2a4dba3fbfef944c5...
comment by burntsushi · 2023-11-30 · in Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016) -
…standard grep format and it doesn't interact nicely with contextual options like -C/--context. See: https://github.com/BurntSushi/ripgrep/issues/875
comment by burntsushi · 2023-11-30 · in Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016) -
…All of those things apply to me too.) With respect to compatibility, see my FAQ on the topic: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
comment by burntsushi · 2023-11-30 · in Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016) -
…people forget the qgrep option." YMMV. I have flirted with the idea of adding indexing to ripgrep: https://github.com/BurntSushi/ripgrep/issues/1497 > this above all true UNLESS you need multi-line matches with UTF8, where ripgrep is not…
comment by burntsushi · 2023-11-30 · in Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016) -
The shell function from this comment works pretty well for me: https://github.com/BurntSushi/ripgrep/issues/152#issuecommen...
comment by gkfasdfasdf · 2023-11-27 · in Ripgrep 14 Released -
…can't make --sort-files _free_ in multi-core mode, but it would still be faster than single-core) https://github.com/BurntSushi/ripgrep/issues/152
comment by piinbinary · 2023-11-26 · in Ripgrep 14 Released -
▲ 297
Ripgrep 14 Releasedstory by timf · 2023-11-26 · 71 comments
-
▲ 5
Ripgrepstory by tosh · 2023-11-13 · 0 comments
-
…nice. I install it everywhere now. I'm curious (like others here) how `rak` is better than `rg`. https://github.com/BurntSushi/ripgrep
comment by cies · 2023-11-02 · in App::Rak – 21st century grep / find / ack / ag / rg on steroids -
…It will be in the next release. If you want this in your ripgrep, then `cargo install --git https://github.com/BurntSushi/ripgrep ripgrep` should do the trick. (Add `--features pcre2` if you want that.) Second is that this make ripgrep…
comment by burntsushi · 2023-08-29 · in Ripgrep now twice as fast on Apple Silicon with new aarch64 SIMD implementations -
…ripgrep is written in Rust and works really well and "does one thing", so I'll go to its repo ( https://github.com/BurntSushi/ripgrep ) and read through a bit. First, I'm looking for a "src" folder, but that does not exist, so right off…
comment by PennRobotics · 2023-08-28 · in C++ Papercuts -
…it by looking at version numbers when the projects aren't using the same versioning scheme. [1]: https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG....
comment by burntsushi · 2023-08-22 · in Be careful of the examples you use. They stick -
…it not being a drop-in replacement being a mistake suggests you're totally missing the point. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... The goal isn't "C++ has to literally die." That's just dumb. It is not going…
comment by burntsushi · 2023-07-15 · in Tell HN: Rust is the superglue -
…[1]. Or ripgrep [2] instead of grep. sd [3] instead of sed. [1]: https://github.com/ogham/exa [2]: https://github.com/BurntSushi/ripgrep [3]: https://github.com/chmln/sd
comment by alwillis · 2023-06-28 · in macOS command-line tools you might not know about -
A fun fact, ripgrep used docopt for arg parsing in its original release: https://github.com/BurntSushi/ripgrep/blob/b1c52b52d6eed5b24... I switched to Clap pretty quickly after the initial release though. Like a couple months:…
comment by burntsushi · 2023-06-28 · in Ask HN: Why did Nim not catch on like Rust did? -
This should suffice? https://github.com/BurntSushi/ripgrep
comment by paraselene_ · 2023-06-23 · in Do you know how much your computer can do in a second? (2015) -
…https://github.com/jeremyevans/sequel/ * Sidekiq https://github.com/sidekiq/sidekiq Rust * ripgrep https://github.com/BurntSushi/ripgrep Scala * fs2 (ex of good type safety) https://github.com/typelevel/fs2 * monix (ex of ugly code with…
comment by culi · 2023-06-17 · in Ask HN: What are some of the most elegant codebases in your favorite language? -
…than 16ms), although I only have 10k entries on my history as I clear it up once in a while. [0]: https://github.com/BurntSushi/ripgrep [1]: https://github.com/junegunn/fzf
comment by doodlesdev · 2023-05-25 · in Cases where full scans are better than indexes -
…"unescape" routine. e.g., converting the string 'a\xFF\t' to the byte sequence 0x61 0xFF 0x09: https://github.com/BurntSushi/ripgrep/blob/44fb9fce2c1ee1a86...
comment by burntsushi · 2023-03-14 · in Switching from C++ to Rust -
…in replacements. Some examples are - ls => exa ( https://github.com/ogham/exa ) - grep => ripgrep ( https://github.com/BurntSushi/ripgrep ) - cat => bat ( https://github.com/sharkdp/bat ) - tree => broot ( https://github.com/Canop/broot )…
comment by nindalf · 2023-03-02 · in Bsdutils: Alternative to GNU coreutils using software from FreeBSD -
…"more intuitive du" - tldr github.com/tldr-pages/tldr-python-client tldr client in python - ripgrep github.com/BurntSushi/ripgrep This constitutes the "great" tools, there are more that are "good"
comment by xrayarx · 2023-02-20 · in The Most Useful Command Line Tools (2023 Edition) -
…- etc Forgot to add zoxide [0] and ripgrep [1]. [0] https://github.com/ajeetdsouza/zoxide [1] https://github.com/BurntSushi/ripgrep
comment by jnsaff2 · 2023-02-09 · in Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers? -
…compiled it with both Rust 1.20 (from ~5.5 years ago) and Rust 1.67 (just released): $ git clone https://github.com/BurntSushi/ripgrep $ cd ripgrep $ git checkout 0.8.0 $ time cargo +1.20.0 build --release real 34.367 user 1:07.36 sys…
comment by burntsushi · 2023-02-03 · in Improving Rust compile times to enable adoption of memory safety -
…for time I did neither. [1] https://learnbyexample.github.io/learn_gnugrep_ripgrep/ripgr... [2] https://github.com/BurntSushi/ripgrep
comment by defrost · 2023-01-16 · in Awk: Power and Promise of a 40 yr old language (2021) -
…modules/microservices. For searching multiple files, ripgrep works really well in neovim :) [1] https://github.com/BurntSushi/ripgrep
comment by surprisetalk · 2023-01-03 · in Modules, not microservices -
…run some tests on that and get back to you in an hour or so. I'll use the same tests you have on https://github.com/BurntSushi/ripgrep/blob/master/benchsuite... My testing will be on my Dev VM, in a WSL container on ubuntu 22.04, targeting…
comment by maldev · 2022-12-10 · in How I got involved in the Rust community -
https://github.com/BurntSushi/ripgrep https://github.com/rust-lang/hashbrown https://github.com/briansmith/ring https://github.com/rust-random/rand Lot of Rust programmers also coming from C, C++, and Go btw.
comment by mcqueenjordan · 2022-12-09 · in Data-driven performance optimization with Rust and Miri -
…as a paid product, especially with a subscription model. [0] https://github.com/junegunn/fzf [1] https://github.com/BurntSushi/ripgrep [2] https://github.com/tmux/tmux [3] https://github.com/zellij-org/zellij [4]…
comment by _andrei_ · 2022-12-09 · in Telemetry is now optional in Warp -
…[2] https://en.wikipedia.org/wiki/Personal_knowledge_base [3] https://github.com/BurntSushi/ripgrep
comment by eevmanu · 2022-11-30 · in Ask HN: Bookmarks for Hacker News? -
…Modern sed: https://github.com/chmln/sd Modern grep: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep
comment by petepete · 2022-11-07 · in Being Ridiculed for My Open Source Project (2013) -
…curating the commits in order to make them meaningful. Here's an example of this from the wild: https://github.com/BurntSushi/ripgrep/pull/350#issuecomment-... BurntSushi (the project maintainer) didn't care about the story the commits…
comment by thunky · 2022-11-03 · in Git commit messages are useless -
…of their own experience) opinion of your HN peers? Well, that's what you got. Live with it. [1]: https://github.com/BurntSushi/ripgrep/releases/tag/13.0.0
comment by burntsushi · 2022-10-20 · in “You meant to install ripgrep” -
…Feel free to abuse my competence or, you know, link it in the discussion? Actually I'll do it. https://github.com/BurntSushi/ripgrep/blob/master/README.md There. That feels better doesn't it? More quirks you have to learn is not less. You…
comment by harry8 · 2022-10-19 · in “You meant to install ripgrep” -
…useful. There's even a huge sign with only 12 words pithily explaining what the shop has inside. https://github.com/BurntSushi/ripgrep
comment by burntsushi · 2022-10-18 · in “You meant to install ripgrep” -
A grep alternative that optimizes for performance: https://github.com/BurntSushi/ripgrep . There are detailed performance comparisons and discussions in the readme there.
comment by kibwen · 2022-10-17 · in “You meant to install ripgrep” -
…will respect gitignore rules and automatically skip hidden files/directories and binary files." https://github.com/BurntSushi/ripgrep
comment by debacle · 2022-10-17 · in “You meant to install ripgrep” -
ripgrep by BurntSushi ( https://github.com/BurntSushi/ripgrep )
comment by omn1 · 2022-09-10 · in Ask HN: What's the best source code you've read? -
…any threat to Adobe shows that it takes way more than a handful of skilled devs. > Copies of grep https://github.com/BurntSushi/ripgrep started in 2016 and went stable in 2019. It's not being sold as a SaaS subscription because why would…
comment by 3np · 2022-08-28 · in Time Till Open Source Alternative -
Seems like ripgrep would be the optimal tool for this job. https://github.com/BurntSushi/ripgrep
comment by KMnO4 · 2022-08-15 · in Ask HN: Can I see your scripts? -
This is actually how glob matching is currently implemented in ripgrep: https://github.com/BurntSushi/ripgrep/blob/a9d97a1dda0a07a8e... Works quite well because it can take advantage of the host of optimizations inside the regex engine.
comment by burntsushi · 2022-08-12 · in Rob Pike's simple C regex matcher in Go -
…then 'grep' is a fine choice. Indeed, I still use 'grep' for precisely that purpose. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
comment by burntsushi · 2022-07-25 · in Why GNU grep is fast (2010) -
Can ripgrep replace grep? Nope. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... What does the "rip" in ripgrep mean? Not "rest in peace." See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#wha... If you only…
comment by burntsushi · 2022-07-25 · in Why GNU grep is fast (2010) -
…a text search tool (ripgrep) in pure Rust instead of using PCRE bindings. Look at the benchmarks ( https://github.com/BurntSushi/ripgrep/blob/master/benchsuite... ) - it’s faster than any competing tool on nearly all of them. If you’ve…
comment by nindalf · 2022-06-23 · in Linus Torvalds: Rust for the Kernel Could Possibly Be Merged for Linux 5.20