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
-
…people forget the qgrep option." YMMV. I have flirted with the idea of adding indexing to ripgrep: https://github.com/BurntSushi/ripgrep/issues/1497 > this above all true UNLESS you need multi-line matches with UTF8, where ripgrep is not…
comment by burntsushi · 2023-11-30 · in Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016) -
The shell function from this comment works pretty well for me: https://github.com/BurntSushi/ripgrep/issues/152#issuecommen...
comment by gkfasdfasdf · 2023-11-27 · in Ripgrep 14 Released -
…can't make --sort-files _free_ in multi-core mode, but it would still be faster than single-core) https://github.com/BurntSushi/ripgrep/issues/152
comment by piinbinary · 2023-11-26 · in Ripgrep 14 Released -
…nice. I install it everywhere now. I'm curious (like others here) how `rak` is better than `rg`. https://github.com/BurntSushi/ripgrep
comment by cies · 2023-11-02 · in App::Rak – 21st century grep / find / ack / ag / rg on steroids -
…It will be in the next release. If you want this in your ripgrep, then `cargo install --git https://github.com/BurntSushi/ripgrep ripgrep` should do the trick. (Add `--features pcre2` if you want that.) Second is that this make ripgrep…
comment by burntsushi · 2023-08-29 · in Ripgrep now twice as fast on Apple Silicon with new aarch64 SIMD implementations -
…ripgrep is written in Rust and works really well and "does one thing", so I'll go to its repo ( https://github.com/BurntSushi/ripgrep ) and read through a bit. First, I'm looking for a "src" folder, but that does not exist, so right off…
comment by PennRobotics · 2023-08-28 · in C++ Papercuts -
…it by looking at version numbers when the projects aren't using the same versioning scheme. [1]: https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG....
comment by burntsushi · 2023-08-22 · in Be careful of the examples you use. They stick -
…it not being a drop-in replacement being a mistake suggests you're totally missing the point. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... The goal isn't "C++ has to literally die." That's just dumb. It is not going…
comment by burntsushi · 2023-07-15 · in Tell HN: Rust is the superglue -
…[1]. Or ripgrep [2] instead of grep. sd [3] instead of sed. [1]: https://github.com/ogham/exa [2]: https://github.com/BurntSushi/ripgrep [3]: https://github.com/chmln/sd
comment by alwillis · 2023-06-28 · in macOS command-line tools you might not know about -
A fun fact, ripgrep used docopt for arg parsing in its original release: https://github.com/BurntSushi/ripgrep/blob/b1c52b52d6eed5b24... I switched to Clap pretty quickly after the initial release though. Like a couple months:…
comment by burntsushi · 2023-06-28 · in Ask HN: Why did Nim not catch on like Rust did? -
This should suffice? https://github.com/BurntSushi/ripgrep
comment by paraselene_ · 2023-06-23 · in Do you know how much your computer can do in a second? (2015) -
…https://github.com/jeremyevans/sequel/ * Sidekiq https://github.com/sidekiq/sidekiq Rust * ripgrep https://github.com/BurntSushi/ripgrep Scala * fs2 (ex of good type safety) https://github.com/typelevel/fs2 * monix (ex of ugly code with…
comment by culi · 2023-06-17 · in Ask HN: What are some of the most elegant codebases in your favorite language? -
…than 16ms), although I only have 10k entries on my history as I clear it up once in a while. [0]: https://github.com/BurntSushi/ripgrep [1]: https://github.com/junegunn/fzf
comment by doodlesdev · 2023-05-25 · in Cases where full scans are better than indexes -
…"unescape" routine. e.g., converting the string 'a\xFF\t' to the byte sequence 0x61 0xFF 0x09: https://github.com/BurntSushi/ripgrep/blob/44fb9fce2c1ee1a86...
comment by burntsushi · 2023-03-14 · in Switching from C++ to Rust -
…in replacements. Some examples are - ls => exa ( https://github.com/ogham/exa ) - grep => ripgrep ( https://github.com/BurntSushi/ripgrep ) - cat => bat ( https://github.com/sharkdp/bat ) - tree => broot ( https://github.com/Canop/broot )…
comment by nindalf · 2023-03-02 · in Bsdutils: Alternative to GNU coreutils using software from FreeBSD -
…"more intuitive du" - tldr github.com/tldr-pages/tldr-python-client tldr client in python - ripgrep github.com/BurntSushi/ripgrep This constitutes the "great" tools, there are more that are "good"
comment by xrayarx · 2023-02-20 · in The Most Useful Command Line Tools (2023 Edition) -
…- etc Forgot to add zoxide [0] and ripgrep [1]. [0] https://github.com/ajeetdsouza/zoxide [1] https://github.com/BurntSushi/ripgrep
comment by jnsaff2 · 2023-02-09 · in Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers? -
…compiled it with both Rust 1.20 (from ~5.5 years ago) and Rust 1.67 (just released): $ git clone https://github.com/BurntSushi/ripgrep $ cd ripgrep $ git checkout 0.8.0 $ time cargo +1.20.0 build --release real 34.367 user 1:07.36 sys…
comment by burntsushi · 2023-02-03 · in Improving Rust compile times to enable adoption of memory safety -
…for time I did neither. [1] https://learnbyexample.github.io/learn_gnugrep_ripgrep/ripgr... [2] https://github.com/BurntSushi/ripgrep
comment by defrost · 2023-01-16 · in Awk: Power and Promise of a 40 yr old language (2021) -
…modules/microservices. For searching multiple files, ripgrep works really well in neovim :) [1] https://github.com/BurntSushi/ripgrep
comment by surprisetalk · 2023-01-03 · in Modules, not microservices -
…run some tests on that and get back to you in an hour or so. I'll use the same tests you have on https://github.com/BurntSushi/ripgrep/blob/master/benchsuite... My testing will be on my Dev VM, in a WSL container on ubuntu 22.04, targeting…
comment by maldev · 2022-12-10 · in How I got involved in the Rust community -
https://github.com/BurntSushi/ripgrep https://github.com/rust-lang/hashbrown https://github.com/briansmith/ring https://github.com/rust-random/rand Lot of Rust programmers also coming from C, C++, and Go btw.
comment by mcqueenjordan · 2022-12-09 · in Data-driven performance optimization with Rust and Miri -
…as a paid product, especially with a subscription model. [0] https://github.com/junegunn/fzf [1] https://github.com/BurntSushi/ripgrep [2] https://github.com/tmux/tmux [3] https://github.com/zellij-org/zellij [4]…
comment by _andrei_ · 2022-12-09 · in Telemetry is now optional in Warp -
…[2] https://en.wikipedia.org/wiki/Personal_knowledge_base [3] https://github.com/BurntSushi/ripgrep
comment by eevmanu · 2022-11-30 · in Ask HN: Bookmarks for Hacker News? -
…Modern sed: https://github.com/chmln/sd Modern grep: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep
comment by petepete · 2022-11-07 · in Being Ridiculed for My Open Source Project (2013) -
…curating the commits in order to make them meaningful. Here's an example of this from the wild: https://github.com/BurntSushi/ripgrep/pull/350#issuecomment-... BurntSushi (the project maintainer) didn't care about the story the commits…
comment by thunky · 2022-11-03 · in Git commit messages are useless -
…of their own experience) opinion of your HN peers? Well, that's what you got. Live with it. [1]: https://github.com/BurntSushi/ripgrep/releases/tag/13.0.0
comment by burntsushi · 2022-10-20 · in “You meant to install ripgrep” -
…Feel free to abuse my competence or, you know, link it in the discussion? Actually I'll do it. https://github.com/BurntSushi/ripgrep/blob/master/README.md There. That feels better doesn't it? More quirks you have to learn is not less. You…
comment by harry8 · 2022-10-19 · in “You meant to install ripgrep” -
…useful. There's even a huge sign with only 12 words pithily explaining what the shop has inside. https://github.com/BurntSushi/ripgrep
comment by burntsushi · 2022-10-18 · in “You meant to install ripgrep” -
A grep alternative that optimizes for performance: https://github.com/BurntSushi/ripgrep . There are detailed performance comparisons and discussions in the readme there.
comment by kibwen · 2022-10-17 · in “You meant to install ripgrep” -
…will respect gitignore rules and automatically skip hidden files/directories and binary files." https://github.com/BurntSushi/ripgrep
comment by debacle · 2022-10-17 · in “You meant to install ripgrep” -
ripgrep by BurntSushi ( https://github.com/BurntSushi/ripgrep )
comment by omn1 · 2022-09-10 · in Ask HN: What's the best source code you've read? -
…any threat to Adobe shows that it takes way more than a handful of skilled devs. > Copies of grep https://github.com/BurntSushi/ripgrep started in 2016 and went stable in 2019. It's not being sold as a SaaS subscription because why would…
comment by 3np · 2022-08-28 · in Time Till Open Source Alternative -
Seems like ripgrep would be the optimal tool for this job. https://github.com/BurntSushi/ripgrep
comment by KMnO4 · 2022-08-15 · in Ask HN: Can I see your scripts? -
This is actually how glob matching is currently implemented in ripgrep: https://github.com/BurntSushi/ripgrep/blob/a9d97a1dda0a07a8e... Works quite well because it can take advantage of the host of optimizations inside the regex engine.
comment by burntsushi · 2022-08-12 · in Rob Pike's simple C regex matcher in Go -
…then 'grep' is a fine choice. Indeed, I still use 'grep' for precisely that purpose. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
comment by burntsushi · 2022-07-25 · in Why GNU grep is fast (2010) -
Can ripgrep replace grep? Nope. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... What does the "rip" in ripgrep mean? Not "rest in peace." See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#wha... If you only…
comment by burntsushi · 2022-07-25 · in Why GNU grep is fast (2010) -
…a text search tool (ripgrep) in pure Rust instead of using PCRE bindings. Look at the benchmarks ( https://github.com/BurntSushi/ripgrep/blob/master/benchsuite... ) - it’s faster than any competing tool on nearly all of them. If you’ve…
comment by nindalf · 2022-06-23 · in Linus Torvalds: Rust for the Kernel Could Possibly Be Merged for Linux 5.20 -
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