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. …of this design idea, but maybe some HN person knows of an existing solution along these lines. [1] https://github.com/BurntSushi/ripgrep/issues/978 [2] https://github.com/BurntSushi/ripgrep/pull/981
  2. …work required to make this nice. The --pre flag is just a small hook. More info on it here: https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#p...
  3. …I've also re-run my original set of benchmarks[1] with ugrep included: https://github.com/BurntSushi/ripgrep/blob/master/benchsuite... [1] - https://blog.burntsushi.net/ripgrep/
  4. As a counterpoint, ripgrep is good and serious and the only grep I ever use if I can help it. https://github.com/BurntSushi/ripgrep
  5. …projects doesn't mean that copyleft isn't itself a barrier to use in other circumstances. [1] - https://github.com/BurntSushi/ripgrep/blob/master/COPYING [2] - https://github.com/BurntSushi/byteorder/issues/26
  6. It's ripgrep https://github.com/BurntSushi/ripgrep
  7. https://github.com/BurntSushi/ripgrep
  8. …for no reason[0][1] and currently uses none of its configurable features except suggestions[2]. [0] https://github.com/BurntSushi/ripgrep/commit/c8e755f11f31b6d... [1] https://github.com/clap-rs/clap/commit/739e7048a50d14023ef9e... [2]…
    comment by csnover · 2020-10-04 · in Rust Starter Kit 2020
  9. …they want. In short, a good UI can be a complex beast even if it's only a text interface. [0]: https://github.com/BurntSushi/ripgrep
    comment by ChrisSD · 2020-10-03 · in Rust Starter Kit 2020
  10. …intended to be POSIX compatible. It would have been a straight-jacket over its functionality. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... > As for RG and AG. other than being faster, how are they better? For…
  11. …It became such a problem that I specifically put a call-out to it in my bug report template: https://github.com/BurntSushi/ripgrep/blob/master/.github/IS... Snap has been hugely annoying on multiple axis since day 1.
    comment by burntsushi · 2020-08-13 · in Why is there only one Snap Store?
  12. doesn't look like it: https://github.com/BurntSushi/ripgrep#installation
    comment by boogies · 2020-08-13 · in Why is there only one Snap Store?
  13. https://github.com/BurntSushi/ripgrep
    comment by The_rationalist · 2020-07-23 · in Why GNU grep is fast (2010)
  14. >IRC/Slack/Discord already exist There's a discussion feature on beta (see https://github.com/BurntSushi/ripgrep/discussions for example) I'd definitely like this to become public soon
    comment by asicsp · 2020-06-17 · in GitHub isn't fun anymore
  15. …a file in a directory tree, but has revolutionised my history use with its fuzzy matching. [0] - https://github.com/BurntSushi/ripgrep [1] - https://github.com/junegunn/fzf
  16. In the same vein as silver searcher, I'd mention ripgrep: https://github.com/BurntSushi/ripgrep
  17. …still get instant startup. Ripgrep is one of the most popular Rust CLI tools. It has ~2MB binaries: https://github.com/BurntSushi/ripgrep/releases (except the windows GNU variant which is 8MB for some reason, but a ~2MB windows MSVC…
    comment by nicoburns · 2020-05-28 · in Rust is not a good C replacement (2019)
  18. ripgrep can actually do this seamlessly with its preprocessors: https://github.com/BurntSushi/ripgrep/blob/b72ad8f8aa897191c...
  19. Throw in those, + fd[0] and rg[1] 0: https://github.com/sharkdp/fd 1: https://github.com/BurntSushi/ripgrep
  20. …than Unix-style globs), or to just implement its own globbing. There is a ticket tracking it: https://github.com/BurntSushi/ripgrep/issues/234 I've done a lot of work to make ripgrep work well on Windows. But haven't done this. You can…
  21. shoutout to [RipGrep]( https://github.com/BurntSushi/ripgrep ), which is generally faster, has more intelligent defaults (searches cwd by default, ignores files matching .gitignore), and can search through only certain text files (like…
  22. …of software expertise, is to make what I consider to be "easy" be as much output as possible. [0]: https://github.com/BurntSushi/ripgrep
    comment by robenkleene · 2020-04-17 · in Customizing Your Shell
  23. …that says it "aims to kill grep"? That definitely wasn't my intention. grep still has a place. See https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#int... and https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#can...
    comment by burntsushi · 2020-04-10 · in SIMD instructions
  24. Right, yes. It's a common enough mistake that it has its own FAQ entry now. :-) https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#int...
    comment by burntsushi · 2020-04-10 · in SIMD instructions
  25. More context: https://github.com/BurntSushi/ripgrep/issues/1488
  26. Some `ripgrep` vs. `grep` performance comparisons (mine) here. https://github.com/BurntSushi/ripgrep/issues/113#issuecommen...
    comment by vstuart · 2020-03-19 · in Fast Searching with Ripgrep
  27. ▲ 4
    Ripgrep 12.0.0
    story by robin_reala · 2020-03-18 · 0 comments
  28. ▲ 4
    Ripgrep 12 Is Out
    story by jayflux · 2020-03-16 · 0 comments
  29. …like this to ripgrep. If folks have opinions on how it should work, I'd love to hear from you! https://github.com/BurntSushi/ripgrep/issues/1497
    comment by burntsushi · 2020-03-12 · in How Google Code Search Worked (2012)
  30. …commit in ripgrep's history is what introduced memory map support and it used the `memmap` crate: https://github.com/BurntSushi/ripgrep/commit/403bb72a4dd7152... > albeit the CPU fan noises annoy my co-workers ripgrep is happy to be told…
  31. …memory maps, and if they fail to open, it will fall back to a more traditional buffering strategy: https://github.com/BurntSushi/ripgrep/blob/50d2047ae2c0ce2ed... ripgrep has always had a fast traditional buffering strategy using `read`…
  32. …been implemented in Go or Rust, e.g. I don't think I would choose C for such a task these days. https://github.com/BurntSushi/ripgrep https://github.com/sharkdp/bat https://github.com/jesseduffield/lazydocker https://github.com/ogham/exa…
    comment by mxschumacher · 2020-02-15 · in To become a good C programmer (2011)
  33. …should definitely keep using the silver searcher. I gave more details in a response on that issue: https://github.com/BurntSushi/ripgrep/issues/1481#issuecomme...
  34. Yeah and its also 10 times larger https://github.com/BurntSushi/ripgrep/issues/1481
  35. …Read the man page or user guide. It's not grep, it's better and already has saner defaults. https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md
  36. For grepping, rg is faster and saner. https://github.com/BurntSushi/ripgrep On end-user systems with fast I/O, it is usually a better use of resources to have a battery-/suspend-/reboot-aware indexing system that has path/extension…
  37. Might be worth taking a look at ripgrep[1]. [1] https://github.com/BurntSushi/ripgrep
  38. …Something like the silver searcher ( https://github.com/ggreer/the_silver_searcher ) or ripgrep ( https://github.com/BurntSushi/ripgrep ) have the advantage that they have laser-focus in what they want, and designed to take advantage of…
    comment by jaimebuelta · 2020-01-27 · in Performance First
  39. …and now it looks like Rec is the next ingredient to experiment with. FZF and moreso Ripgrep https://github.com/BurntSushi/ripgrep has been really great to add to the mix.
    comment by rasengan0 · 2020-01-26 · in GNU Recutils
  40. …replacement. Despite that, it can certainly replace grep in a wide variety of use cases. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
    comment by burntsushi · 2020-01-16 · in My C code works with -O3 but not with -O0
  41. ▲ 5
    Ask HN: Favorite Command Line Tools?
    story by nice-guy-coding · 2020-01-10 · 1 comment
  42. …This look super cool. I'm a Windows guy but have been using terminal more lately with tools like https://github.com/BurntSushi/ripgrep https://github.com/sharkdp/bat https://github.com/sharkdp/fd and they work great on Windows (plus are…
  43. Yeah so many CLI tools in Rust: https://github.com/sharkdp/fd/ https://github.com/sharkdp/bat https://github.com/BurntSushi/ripgrep https://github.com/ogham/exa
  44. …your .gitignore by default. I’ll give this a try before adding something to my .vimrc again. 1. https://github.com/BurntSushi/ripgrep
    comment by imjasonmiller · 2019-12-03 · in The Plain Text Project
  45. …said, the preview window in combination with being able to browse large directories a breeze. 1 = https://github.com/BurntSushi/ripgrep
    comment by dwrodri · 2019-12-02 · in Fzf: A command-line fuzzy finder
  46. ripgrep [Discussion] Fuzzy Search https://github.com/BurntSushi/ripgrep/issues/1053
    comment by TheGrassyKnoll · 2019-08-22 · in Levenshtein Distance
  47. …your own horn, and you saved me many hours of not waiting for searches, I'll link to ripgrep here https://github.com/BurntSushi/ripgrep
  48. …was recently going through the source code to learn how to build production quality Rust apps! ( https://github.com/BurntSushi/ripgrep )
  49. …tool that has been created by leveraging Rust and it's from BurntSushi[1] who is excellent. 0: https://github.com/BurntSushi/ripgrep 1. https://github.com/BurntSushi
  50. …by burntsushi, but especially xsv and ripgrep: xsv: https://github.com/BurntSushi/xsv ripgrep: https://github.com/BurntSushi/ripgrep His code typically has extensive tests, helpful comments, and logical structure. It was fun trying to…