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
-
▲ 25
Ripgrep History: “Incite Riots”story by bvaldivielso · 2022-05-25 · 1 comment
-
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…
comment by burntsushi · 2022-05-22 · in A simple, fast and user-friendly alternative to ‘find’ -
…to it that let you reason about the tools more from first principles, but on your terms. [1] - https://github.com/BurntSushi/ripgrep/discussions
comment by burntsushi · 2022-05-20 · in A simple, fast and user-friendly alternative to ‘find’ -
…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...
comment by burntsushi · 2022-05-20 · in A simple, fast and user-friendly alternative to ‘find’ -
…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 -
What about ripgrep? It's even faster than the Silver Searcher https://github.com/BurntSushi/ripgrep
comment by makeworld · 2022-04-15 · in Moreutils: A collection of Unix tools that nobody thought to write long ago -
…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 -
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 -
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…
comment by burntsushi · 2022-02-13 · in Ask HN: What is your “I don't care if this succeeds” project? -
...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 -
…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 -
…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/
comment by guessmyname · 2021-12-22 · in Ask HN: Working with large code base for the first time -
…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…
comment by GhettoComputers · 2021-12-14 · in Linux Touchpad Like MacBook Update: Touchpad Gestures Now Shipping -
…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 -
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.
comment by backslash_16 · 2021-11-24 · in Tell HN: Windows' find.exe claims that it's “Find String (grep) Utility” -
…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 -
…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
comment by perihelions · 2021-11-10 · in Hop: Faster than unzip and tar at reading individual files -
…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…
comment by burntsushi · 2021-10-25 · in Feature comparison of ack, ag, Git-grep, grep and ripgrep -
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 -
Ripgrep is awesome : https://github.com/BurntSushi/ripgrep Some others : https://lib.rs/command-line-utilities
comment by mattblayac · 2021-09-05 · in I completely ignored the front end development scene for 6 months. It was fine -
…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…
comment by burntsushi · 2021-06-17 · in GitHub – nushell/nushell: A new type of shell -
…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...
comment by hprotagonist · 2021-06-16 · in Show HN: fcp – A significantly faster alternative to cp(1), written in Rust -
…:) 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 -
…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 -
…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 -
…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 -
https://github.com/BurntSushi/ripgrep#why-should-i-use-ripgr...
comment by lalaithion · 2021-06-14 · in Ripgrep 13.0 -
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 -
…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 -
…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 -
…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 -
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 -
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 -
▲ 547
Ripgrep 13.0story by mfrw · 2021-06-13 · 150 comments
-
▲ 5
ripgrep 13.0.0 releasedstory by asicsp · 2021-06-12 · 0 comments
-
…applied optimization. The bug is fixed on master. Thanks for calling this to my attention! https://github.com/BurntSushi/ripgrep/issues/1878
comment by burntsushi · 2021-05-29 · in Finding CSV files that start with a BOM using ripgrep -
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…
comment by adriancr · 2021-05-17 · in How M1 Macs feel faster than Intel models: it’s about QoS -
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…
comment by burntsushi · 2021-04-23 · in The Boyer-Moore Fast String Searching Algorithm -
…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 -
…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 -
…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...…
comment by bmn__ · 2021-03-23 · in Show HN: Regular expression compilation visualized -
…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…
comment by burntsushi · 2021-03-16 · in Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift} (2016) -
…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 -
…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 -
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 -
…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 -
…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 -
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 -
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 -
…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