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
20082026
-
In the same vein as silver searcher, I'd mention ripgrep: https://github.com/BurntSushi/ripgrep
comment by lucianbr · 2020-06-09 · in Ask HN: Which tools have made you a much better programmer? -
…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) -
ripgrep can actually do this seamlessly with its preprocessors: https://github.com/BurntSushi/ripgrep/blob/b72ad8f8aa897191c...
comment by burntsushi · 2020-05-19 · in WorldBrain's Memex: Bookmarking for the power users of the web -
Throw in those, + fd[0] and rg[1] 0: https://github.com/sharkdp/fd 1: https://github.com/BurntSushi/ripgrep
comment by jdxcode · 2020-05-03 · in Re: Integrating "safe" languages into OpenBSD? (2017) -
…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…
comment by burntsushi · 2020-04-22 · in If you use GNU grep on text files, use the -a (--text) option -
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…
comment by the_jeremy · 2020-04-21 · in If you use GNU grep on text files, use the -a (--text) option -
…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 -
…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 -
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 -
More context: https://github.com/BurntSushi/ripgrep/issues/1488
comment by burntsushi · 2020-03-24 · in Show HN: Harness the power of hyperscan on the CLI with this fork of ripgrep -
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 -
…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) -
…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…
comment by burntsushi · 2020-03-03 · in A journey to searching Have I Been Pwned database in 49μs -
…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`…
comment by burntsushi · 2020-03-02 · in A journey to searching Have I Been Pwned database in 49μs -
…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) -
…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...
comment by burntsushi · 2020-02-09 · in A common mistake involving wildcards and the find command -
Yeah and its also 10 times larger https://github.com/BurntSushi/ripgrep/issues/1481
comment by svnpenn · 2020-02-09 · in A common mistake involving wildcards and the find command -
…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
comment by anonsivalley652 · 2020-02-09 · in A common mistake involving wildcards and the find command -
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…
comment by anonsivalley652 · 2020-02-09 · in A common mistake involving wildcards and the find command -
Might be worth taking a look at ripgrep[1]. [1] https://github.com/BurntSushi/ripgrep
comment by bobnamob · 2020-01-30 · in Command-line tools can be faster than a Hadoop cluster (2014) -
…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 -
…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 -
…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 -
…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…
comment by mpawelski · 2020-01-09 · in Broot – A new way to see and navigate directory trees -
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
comment by eerrt · 2020-01-09 · in Broot – A new way to see and navigate directory trees -
…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 -
…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 -
ripgrep [Discussion] Fuzzy Search https://github.com/BurntSushi/ripgrep/issues/1053
comment by TheGrassyKnoll · 2019-08-22 · in Levenshtein Distance -
…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
comment by JetSpiegel · 2019-08-07 · in Don’t underestimate grep-based code scanning -
…was recently going through the source code to learn how to build production quality Rust apps! ( https://github.com/BurntSushi/ripgrep )
comment by dmix · 2019-08-07 · in Don’t underestimate grep-based code scanning -
…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
comment by K0nserv · 2019-08-07 · in Don’t underestimate grep-based code scanning -
…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…
comment by ekidd · 2019-07-29 · in Ask HN: What are the “best” codebases that you've encountered? -
…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 -
…on how it worked for you, and in particular, which things were hard to figure out. [1] - https://github.com/BurntSushi/ripgrep/issues/1009
comment by burntsushi · 2019-06-17 · in Show HN: Rga: ripgrep, but also search in PDFs, Office documents, zip, tar.gz -
…other preprocessors (like pdf) within them (second example in the above post and readme). [1]: https://github.com/BurntSushi/ripgrep/issues/918
comment by phiresky · 2019-06-16 · in Show HN: Rga: ripgrep, but also search in PDFs, Office documents, zip, tar.gz -
…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
comment by ronjouch · 2019-06-16 · in Show HN: Rga: ripgrep, but also search in PDFs, Office documents, zip, tar.gz -
…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) -
…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 -
…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 -
…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 -
…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 -
Try rg (ripgrep) over ag: https://github.com/BurntSushi/ripgrep
comment by rlue · 2019-05-21 · in Lsd: The next gen ls command -
…for every job? No, but no tool is. [1]: https://github.com/ggreer/the_silver_searcher [2]: https://github.com/BurntSushi/ripgrep
comment by latexr · 2019-05-15 · in Ask HN: What overlooked class of tools should a self-taught programmer look into -
…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 -
Great! I filed an issue for it: https://github.com/BurntSushi/ripgrep/issues/1252
comment by burntsushi · 2019-04-16 · in Ripgrep 11 Released -
…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 -
…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 -
…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