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. ▲ 25
    Ripgrep History: “Incite Riots”
    story by bvaldivielso · 2022-05-25 · 1 comment
  2. 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…
  3. …to it that let you reason about the tools more from first principles, but on your terms. [1] - https://github.com/BurntSushi/ripgrep/discussions
  4. …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...
  5. …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
  6. What about ripgrep? It's even faster than the Silver Searcher https://github.com/BurntSushi/ripgrep
  7. …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
  8. 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
  9. 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…
  10. ...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
  11. …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
  12. …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/
  13. …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…
  14. …and every CLI tool I used is very fast, much faster. This is another example if you are interested. https://github.com/BurntSushi/ripgrep
    comment by GhettoComputers · 2021-12-14 · in About the security content of macOS Monterey 12.1
  15. I switched to using RipGrep at https://github.com/BurntSushi/ripgrep It's native, really really fast, supports regex, and has nice defaults. The only catch is you need to understand its default ignores if you're working in a git repo.
  16. …who have done more "actual work" for Rust than Andrew. [1]: https://blog.burntsushi.net/about [2]: https://github.com/BurntSushi/ripgrep [3]: https://github.com/rust-lang/regex [4]: https://github.com/BurntSushi/byteorder [5]:…
    comment by stouset · 2021-11-22 · in Rust Moderation Team Resigns
  17. …in power-user syntax of the GNU or BSD versions, in which case incompatibility has a price). https://github.com/BurntSushi/ripgrep https://github.com/sharkdp/fd
  18. …a bit, and in particular, made some changes to ripgrep to make maintaining such a fork easier: https://github.com/BurntSushi/ripgrep/issues/1488 Bottom line is, a lot of people think that adding a dependency has nearly zero cost. But it…
  19. I'd suggest ripgrep [0] for even faster results. [0] https://github.com/BurntSushi/ripgrep
    comment by asicsp · 2021-10-07 · in Effective Code Browsing
  20. Ripgrep is awesome : https://github.com/BurntSushi/ripgrep Some others : https://lib.rs/command-line-utilities
  21. …that only delivers whatever is necessary, or, if available, use the project's binary releases: https://github.com/BurntSushi/ripgrep/releases/tag/13.0.0 And actually, in the case of ripgrep, it provides a Homebrew tap that specifically…
  22. …different, i don't think it's ever been the same, it scratches a similar-but-not-identical itch. https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
  23. …:) Someone suggested it long ago, and adding that blurb is specifically part of my release process: https://github.com/BurntSushi/ripgrep/blob/master/RELEASE-CH...
    comment by burntsushi · 2021-06-16 · in Ripgrep 13.0
  24. …to read vs git grep. However the latter has some useful options ("--and", "--or") that rg lacks: https://github.com/BurntSushi/ripgrep/issues/875#issuecommen...
    comment by arunix · 2021-06-15 · in Ripgrep 13.0
  25. …flag. That --sort-files disables parallelism is not really a theoretical limitation. See: https://github.com/BurntSushi/ripgrep/issues/152
    comment by burntsushi · 2021-06-14 · in Ripgrep 13.0
  26. …I usually forget to update it and it just ends up becoming part of the release process.[1] [1] - https://github.com/BurntSushi/ripgrep/blob/master/RELEASE-CH...
    comment by burntsushi · 2021-06-14 · in Ripgrep 13.0
  27. https://github.com/BurntSushi/ripgrep#why-should-i-use-ripgr...
    comment by lalaithion · 2021-06-14 · in Ripgrep 13.0
  28. ripgrep also has a configuration file for options without the need for an alias. https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#c...
    comment by buerkle · 2021-06-14 · in Ripgrep 13.0
  29. …you would like suggestions, then my favorites are: The Internet Archive Rails Girls Wikipedia * [0] https://github.com/BurntSushi/ripgrep/blob/64ac2ebe0f2fe1c89...
    comment by kisamoto · 2021-06-14 · in Ripgrep 13.0
  30. …in particular anything gitignored and anything with a leading dot (which the docs call "hidden"): https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#a... These flags override that.
    comment by twic · 2021-06-14 · in Ripgrep 13.0
  31. …sensitivity is only one small piece of that. It was proposed to enable --smart-case by default: https://github.com/BurntSushi/ripgrep/issues/178
    comment by burntsushi · 2021-06-14 · in Ripgrep 13.0
  32. There's a comparison to similar tools in the readme https://github.com/BurntSushi/ripgrep#quick-examples-compari...
    comment by Ashanmaril · 2021-06-14 · in Ripgrep 13.0
  33. Shoutout to Burntsushi He knows how to keep a good changelog https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.... it’s good to read through and see the progress. He also cares about ergonomics as well as performance which I…
    comment by jayflux · 2021-06-14 · in Ripgrep 13.0
  34. ▲ 547
    Ripgrep 13.0
    story by mfrw · 2021-06-13 · 150 comments
  35. ▲ 5
    ripgrep 13.0.0 released
    story by asicsp · 2021-06-12 · 0 comments
  36. …applied optimization. The bug is fixed on master. Thanks for calling this to my attention! https://github.com/BurntSushi/ripgrep/issues/1878
  37. I just did a test on my old Lenovo laptop... Intel i7-8565U CPU @ 1.80GHz # git clone https://github.com/BurntSushi/ripgrep && cd ripgrep # cargo clean # time cargo build real 0m23,805s user 1m11,260s sys 0m3,806s How is my crappy laptop…
  38. It does actually! But only in some cases. See https://github.com/BurntSushi/ripgrep/issues/617#issuecommen... and https://github.com/rust-lang/regex/issues/408 and https://github.com/rust-lang/regex/pull/419 Note though that it is going…
  39. …can be skipped. Related TIL: ripgrep ̶d̶o̶e̶s̶n̶'̶t̶ edit mostly doesn't use Boyer-Moore. [0] [0] https://github.com/BurntSushi/ripgrep/issues/493#issuecommen...
    comment by MaxBarraclough · 2021-04-23 · in The Boyer-Moore Fast String Searching Algorithm
  40. …the plugin but it sounds super useful and I'm going to give them a try. [0] Rg being ripgrep, see https://github.com/BurntSushi/ripgrep
    comment by climb_stealth · 2021-03-31 · in Improving Shell Workflows with Fzf
  41. …enough, or even identical to non-extended.) That's why ripgrep and GNU grep and rspamd have them. https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#how... https://www.gnu.org/software/grep/manual/html_node/Regular-E...…
  42. …benchmarks in the blog post a few months ago and included ugrep. ugrep isn't faster on any of them. https://github.com/BurntSushi/ripgrep/blob/master/benchsuite... (However, as I acknowledged in my reddit link below, ugrep is faster than…
  43. …you guess about how much C or Rust code that ripgrep contains when you could very quickly look? https://github.com/BurntSushi/ripgrep
    comment by carols10cents · 2021-03-13 · in Speed of Rust vs. C
  44. …lands. (I have a newborn at home, and my free-time coding has almost completely stopped.) [1] - https://github.com/BurntSushi/ripgrep/issues/1497
    comment by burntsushi · 2021-03-09 · in Debian Running on Rust Coreutils
  45. Make a config file for ripgrep and enable it. https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#c...
    comment by jpitz · 2021-03-09 · in Debian Running on Rust Coreutils
  46. …been that GNU grep is rather slow compared to other (more modern) tools, see e.g. the benchmarks on https://github.com/BurntSushi/ripgrep and https://blog.burntsushi.net/ripgrep/ .
    comment by codethief · 2021-03-09 · in Debian Running on Rust Coreutils
  47. …code files appear to be between 1/3 and 1/2 unit tests, in the few samples I checked. For example, https://github.com/BurntSushi/ripgrep/blob/master/crates/sea...
    comment by adamch · 2021-02-08 · in Rust Foundation: Hello, World
  48. Try https://github.com/BurntSushi/ripgrep – it’s across the board better, and one of the best personal productivity boosts you can make if you use grep frequently.
    comment by acdha · 2021-01-27 · in Heap-based buffer overflow in Sudo
  49. I mean https://github.com/BurntSushi/ripgrep/releases/download/12.1... - /usr/bin/rg 5mb executable. And I think it was something about 20mb in first release.
    comment by GoblinSlayer · 2020-12-17 · in Minimal safe Bash script template
  50. …And then there are things like this which can impact the performance of real world use cases: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pcr... Please don't draw sweeping conclusions about the comparative performance of regex…
    comment by burntsushi · 2020-12-16 · in Minimal safe Bash script template