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. …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…
  2. 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
  3. …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
  4. …nice. I install it everywhere now. I'm curious (like others here) how `rak` is better than `rg`. https://github.com/BurntSushi/ripgrep
  5. …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…
  6. …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
  7. …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....
  8. …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
  9. …[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
  10. 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:…
  11. This should suffice? https://github.com/BurntSushi/ripgrep
  12. …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…
  13. …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
  14. …"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
  15. …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 )…
  16. …"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"
  17. …- etc Forgot to add zoxide [0] and ripgrep [1]. [0] https://github.com/ajeetdsouza/zoxide [1] https://github.com/BurntSushi/ripgrep
  18. …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…
  19. …for time I did neither. [1] https://learnbyexample.github.io/learn_gnugrep_ripgrep/ripgr... [2] https://github.com/BurntSushi/ripgrep
  20. …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
  21. …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…
  22. 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.
  23. …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
  24. …[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?
  25. …Modern sed: https://github.com/chmln/sd Modern grep: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep
  26. …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
  27. …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”
  28. …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”
  29. …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”
  30. 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”
  31. …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”
  32. ripgrep by BurntSushi ( https://github.com/BurntSushi/ripgrep )
  33. …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
  34. 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?
  35. 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
  36. …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)
  37. 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)
  38. …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…
  39. I've added this to the ripgrep Q&A discussion board: https://github.com/BurntSushi/ripgrep/discussions/2221 --- Thanks for the good question! The specific reason is hard to articulate precisely, but it basically boils down to "difficult to…
  40. …to it that let you reason about the tools more from first principles, but on your terms. [1] - https://github.com/BurntSushi/ripgrep/discussions
  41. …is a benefit and portability can be a benefit or a cost, depending on how you look at it. [1] - https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
  42. …number of contributors facilitated by the language taking the fear of intractable bugs away: - < https://github.com/BurntSushi/ripgrep > - < https://github.com/clap-rs/clap > - < https://github.com/rayon-rs/rayon > - <…
    comment by yakubin · 2022-05-19 · in The Rust Borrow Checker – A Deep Dive
  43. What about ripgrep? It's even faster than the Silver Searcher https://github.com/BurntSushi/ripgrep
  44. …come up with a good specification for exactly how it ought to work, so no development has started. https://github.com/BurntSushi/ripgrep/issues/875
    comment by rektide · 2022-04-13 · in New(ish) command line tools
  45. ripgrep[1] is usually mentioned in the same breath. I use them both daily. Truly indispensable. [1] https://github.com/BurntSushi/ripgrep
    comment by elromulous · 2022-03-19 · in Fzf – a command-line fuzzy finder
  46. Technically yes, and this is the best I can offer: https://github.com/BurntSushi/ripgrep/issues/1009 In practice, there's no real high level documentation. And there is still a considerable amount of "glue" code in ripgrep's main…
  47. ...you beat me to it! RipGrep[0] is among my favorite semi-recently discovered CLI tools. [0] - https://github.com/BurntSushi/ripgrep#why-should-i-use-ripgr...
    comment by nicholasjarnold · 2022-02-02 · in Grep flags – the good stuff
  48. …everyone is using? Or how do people generally deal with this? [1]: https://starship.rs/guide/ [2]: https://github.com/BurntSushi/ripgrep#installation
    comment by howdydoo · 2022-01-15 · in Switching from macOS to Pop_OS
  49. …is the project written in to give you more suggestions. [1] https://en.wikipedia.org/wiki/Grep [2] https://github.com/BurntSushi/ripgrep [3] https://microsoft.github.io/language-server-protocol/impleme... [4] https://langserver.org/
  50. …are still the very best you can get. I don't understand this statement then, have you heard of this https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md It sounds like you want bash POSIX support and it to be default before you would…