Hacker GitHub

← All repos

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

Mentions per year 334 mentions · busiest year 2020 (45)
20082026
  1. …[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...
  2. …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
  3. …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.
  4. Here's a thread on performance vs rg (ripgrep). https://github.com/BurntSushi/ripgrep/discussions/2597 didn't know about hypergrep either.
  5. …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
  6. Never will be: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... If you need drop-in compatibility with grep, then use grep. :-)
  7. ▲ 2
    RFC: Add ngram indexing support to ripgrep (2020)
    story by tosh · 2023-11-30 · 2 comments
  8. …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...
  9. …standard grep format and it doesn't interact nicely with contextual options like -C/--context. See: https://github.com/BurntSushi/ripgrep/issues/875
  10. …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...
  11. …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…
  12. 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
  13. …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
  14. ▲ 297
    Ripgrep 14 Released
    story by timf · 2023-11-26 · 71 comments
  15. ▲ 5
    Ripgrep
    story by tosh · 2023-11-13 · 0 comments
  16. …nice. I install it everywhere now. I'm curious (like others here) how `rak` is better than `rg`. https://github.com/BurntSushi/ripgrep
  17. …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…
  18. …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
  19. …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....
  20. …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
  21. …[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
  22. 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:…
  23. This should suffice? https://github.com/BurntSushi/ripgrep
  24. …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…
  25. …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
  26. …"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
  27. …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 )…
  28. …"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"
  29. …- etc Forgot to add zoxide [0] and ripgrep [1]. [0] https://github.com/ajeetdsouza/zoxide [1] https://github.com/BurntSushi/ripgrep
  30. …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…
  31. …for time I did neither. [1] https://learnbyexample.github.io/learn_gnugrep_ripgrep/ripgr... [2] https://github.com/BurntSushi/ripgrep
  32. …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
  33. …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…
  34. 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.
  35. …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
  36. …[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?
  37. …Modern sed: https://github.com/chmln/sd Modern grep: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep
  38. …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
  39. …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”
  40. …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”
  41. …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”
  42. 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”
  43. …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”
  44. ripgrep by BurntSushi ( https://github.com/BurntSushi/ripgrep )
  45. …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
  46. 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?
  47. 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
  48. …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)
  49. 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)
  50. …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…