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. …bat[1]: Replace cat with better display and colours exa[2]: Replace ls with many more options [0]: https://github.com/BurntSushi/ripgrep [1]: https://github.com/sharkdp/bat [2]: https://github.com/ogham/exa I do not have any affiliation…
    comment by CiTyBear · 2019-07-17 · in A proactive approach to more secure code
  2. …. I think that lack of comparison is okay. The first commit to ripgrip was in 2016. https://github.com/BurntSushi/ripgrep/commit/9d1e619ff359b6e...
    comment by eesmith · 2019-06-27 · in CUDA Grep
  3. …ripgrep[0] or The Silver Searcher[1], both of which claim to be faster alternatives to grep. [0] https://github.com/BurntSushi/ripgrep [1] https://github.com/ggreer/the_silver_searcher
    comment by michaelmior · 2019-06-27 · in CUDA Grep
  4. …on how it worked for you, and in particular, which things were hard to figure out. [1] - https://github.com/BurntSushi/ripgrep/issues/1009
  5. …other preprocessors (like pdf) within them (second example in the above post and readme). [1]: https://github.com/BurntSushi/ripgrep/issues/918
  6. …configure ripgrep to use a `--pre` flag (which is what rga is doing :). See config and gist at https://github.com/BurntSushi/ripgrep/issues/1252
  7. …and causing the malloc call to fail. For more info, see `man 5 proc` and/or my exploration here: https://github.com/BurntSushi/ripgrep/issues/993#issuecommen... (It's all still a bit wishy washy, so I think your point still stands. But I…
    comment by burntsushi · 2019-06-10 · in Malloc Never Fails (2012)
  8. …it if you could update #513 with your environment. In particular, by answering these questions: https://github.com/BurntSushi/ripgrep/issues/513#issuecommen... If it's convenient and you could try it in a different environment (perhaps a…
    comment by burntsushi · 2019-05-22 · in Lsd: The next gen ls command
  9. …does. EDIT: actually found a bug report that seems to describe exactly the same problem. https://github.com/BurntSushi/ripgrep/issues/513
    comment by krick · 2019-05-22 · in Lsd: The next gen ls command
  10. …probably `--no-heading`. You can add it to a config file or an alias if you always want it enabled: https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#c...
    comment by burntsushi · 2019-05-21 · in Lsd: The next gen ls command
  11. …support .ignore. These can override whatever is in your .gitignore. See the guide for more details: https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#a... > Performance difference is not that much of a dealbreaker in practice This…
    comment by burntsushi · 2019-05-21 · in Lsd: The next gen ls command
  12. Try rg (ripgrep) over ag: https://github.com/BurntSushi/ripgrep
    comment by rlue · 2019-05-21 · in Lsd: The next gen ls command
  13. …for every job? No, but no tool is. [1]: https://github.com/ggreer/the_silver_searcher [2]: https://github.com/BurntSushi/ripgrep
  14. …theorizing. :-) If you want to try your own benchmarks in your own environment, then you can: https://github.com/BurntSushi/ripgrep/ On Linux at least, you do not need to do a clean reboot to measure something without cache. You can drop…
    comment by burntsushi · 2019-05-02 · in Use mmap with care
  15. Great! I filed an issue for it: https://github.com/BurntSushi/ripgrep/issues/1252
    comment by burntsushi · 2019-04-16 · in Ripgrep 11 Released
  16. …to whatever flags you want by creating a configuration file and defining `RIPGREP_CONFIG_PATH`: https://github.com/BurntSushi/ripgrep/blob/11.0.0/GUIDE.md#c... . Try putting `-uuu` in the file as burntsushi suggested.
    comment by roryokane · 2019-04-16 · in Ripgrep 11 Released
  17. …the commands being run are clear. You can even see the raw commands for the full benchmark suite: https://github.com/BurntSushi/ripgrep/blob/master/benchsuite... I realize doing benchmarks right is a lot of work. So if you just have a…
    comment by burntsushi · 2019-04-16 · in Ripgrep 11 Released
  18. …premise that drives other tools like `git grep`, ack and ag. ripgrep isn't alone here. See also: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... > And personally I would consider an antipattern to skip the gitignore…
    comment by burntsushi · 2019-04-16 · in Ripgrep 11 Released
  19. https://github.com/BurntSushi/ripgrep#is-it-really-faster-th...
    comment by PudgePacket · 2019-04-16 · in Ripgrep 11 Released
  20. …( https://insights.stackoverflow.com/survey/2019?utm_source=so... ). More "technical" reasons here: https://github.com/BurntSushi/ripgrep#why-should-i-use-ripgr... . For me, the performance is best in class, ux is great, and has defaults…
    comment by PudgePacket · 2019-04-16 · in Ripgrep 11 Released
  21. ▲ 410
    Ripgrep 11 Released
    story by burntsushi · 2019-04-15 · 88 comments
  22. …without that much apparent progress. Really? What makes you say that? Have you tried it? $ git clone git://github.com/BurntSushi/ripgrep $ cd ripgrep $ git checkout 0.4.0 $ time cargo +1.12.0 build --release real 1:09.13 user 2:06.08 sys…
    comment by burntsushi · 2019-04-11 · in Rust 1.34.0
  23. Origins of the name: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#int...
    comment by burntsushi · 2019-03-30 · in Why GNU grep is fast (2010)
  24. Well, I did not find a crash (yet), but at least some deadlock (probably). https://github.com/BurntSushi/ripgrep/issues/1231
    comment by gray_-_wolf · 2019-03-29 · in Why GNU grep is fast (2010)
  25. use ripgrep it's faster https://github.com/BurntSushi/ripgrep and appropriately named
    comment by slowrabbit · 2019-03-29 · in Why GNU grep is fast (2010)
  26. it's mentioned elsewhere in this thread but you should try ripgrep https://github.com/BurntSushi/ripgrep
    comment by twalla · 2019-03-29 · in Why GNU grep is fast (2010)
  27. GNU grep is an excellent tool! A similar tool that is rising in popularity is ripgrep ( https://github.com/BurntSushi/ripgrep ), which can be orders of magnitude faster than GNU grep. Give it a try!
    comment by harveywi · 2019-03-29 · in Why GNU grep is fast (2010)
  28. …on my experience with it, when I need a utility I seek out one that's written in rust. I'm using https://github.com/BurntSushi/ripgrep which is rg, like ack or ag (TheSilverSearcher). I've been using it for a few months, and I like it just…
  29. …that installing a fast search tool like ripgrep makes fzf _way_ faster over large directory trees. https://github.com/BurntSushi/ripgrep
  30. This appears to be the same algorithm used by ripgrep ( https://github.com/BurntSushi/ripgrep ) for searching when SIMD/AVX is enabled. Specifically, it uses the algorithm Teddy from the library that’s derived from this paper.
  31. The FAQ question I linked in my previous comment directly addresses most of your complaining: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... --- In particular, note the statements about what it means to "replace" grep. >…
  32. …it is." Language and perspective is funny like that. > whatever you want to call "smart". Related: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
  33. …at the top of the page people who came to actually download the tool will look first. Which is ` https://github.com/burntsushi/ripgrep` .
  34. From https://github.com/BurntSushi/ripgrep > Like other tools specialized to code search, ripgrep defaults to recursive directory search and won't search files ignored by your .gitignore files. It also ignores hidden and binary files by…
  35. …CLI utilities there. :) Another technique I use is to spider a site (respectfully) and then use https://github.com/BurntSushi/ripgrep or load the spidered data into a local Elastic search. Some of what you outline in searching other parts…
    comment by sitkack · 2018-12-13 · in Internet Search Tips
  36. …managers never have the latest version. Here's ripgrep's apt installation instructions: curl -LO https://github.com/BurntSushi/ripgrep/releases/download/0.10.0/ripgrep_0.10.0_amd64.deb sudo dpkg -i ripgrep_0.10.0_amd64.deb There's no way…
    comment by Zarel · 2018-12-02 · in Terminals Are Sexy
  37. …are any substantial features present in ag that are absent from rg. See my note in the README: https://github.com/BurntSushi/ripgrep#feature-comparison
    comment by burntsushi · 2018-11-25 · in Ask HN: Best Command-Line Applications?
  38. …folks use ripgrep. A lot of people like its smart filtering by default. Some don't though. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
    comment by burntsushi · 2018-11-19 · in Ask HN: Best Command-Line Applications?
  39. ripgrep like grep but faster https://github.com/BurntSushi/ripgrep
    comment by gameswithgo · 2018-11-19 · in Ask HN: Best Command-Line Applications?
  40. …tig: https://github.com/jonas/tig/ ag or rg: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep And all my configurations, especially for fish-shell: http://github.com/c02y/dotfiles
    comment by codychan · 2018-11-19 · in Ask HN: Best Command-Line Applications?
  41. …these great tools all written in Rust: fselect - https://github.com/jhspetersson/fselect ripgrep - https://github.com/BurntSushi/ripgrep exa - https://the.exa.website They are the replacements for traditional find, grep, and ls.
    comment by IgorrrR · 2018-11-19 · in Ask HN: Best Command-Line Applications?
  42. …but you should check out ripgrep - it's even faster than Silver Searcher a lot of the time https://github.com/BurntSushi/ripgrep
    comment by CJKerr · 2018-11-19 · in Ask HN: Best Command-Line Applications?
  43. rg (ripgrep): https://github.com/BurntSushi/ripgrep I used to use ag (the silver searcher) [1] before, and `ag` was practically a muscle memory to me, but then I came across ripgrep and it was so much faster. I've now installed a static…
  44. …daily - Pandoc a handy document format converter: https://pandoc.org/ - Ripgrep, a faster grep: https://github.com/BurntSushi/ripgrep - There are quite a few prompt-toolkit based CLI which have been really nice: * mycli (…
  45. These are pretty good tools for 'grepping' on file systems: https://github.com/BurntSushi/ripgrep https://github.com/ggreer/the_silver_searcher
    comment by TheGrassyKnoll · 2018-11-13 · in Improving DuckDuckGo
  46. …compatible tools. This general confusion comes up so often that I have a FAQ item for it: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
  47. FWIW rg is faster than gnu grep https://github.com/BurntSushi/ripgrep#quick-examples-compari...
  48. …ripgrep? We actually already have different default colors for Windows as opposed to unix.[1] [1] - https://github.com/BurntSushi/ripgrep/blob/acf226c39d7926425...
    comment by burntsushi · 2018-10-09 · in 12 Factor CLI Apps
  49. …always cranking out awesome tools. I use ripgrep [1] on a daily basis as a grep replacement [1] https://github.com/BurntSushi/ripgrep
  50. …]; then echo "ripgrep is up to date" exit 0 fi name="ripgrep_${latestvers}_amd64.deb" url="https://github.com/BurntSushi/ripgrep/releases/download/$latestvers/$name" (cd /tmp && curl -LO "$url" && sudo dpkg -i "$name") echo "ripgrep…
    comment by burntsushi · 2018-09-08 · in Ripgrep is faster (2016)