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
-
…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 -
…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 -
…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
comment by cb321 · 2020-12-02 · in Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz -
…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...
comment by burntsushi · 2020-12-02 · in Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz -
…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/
comment by burntsushi · 2020-12-02 · in Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz -
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
comment by saila · 2020-11-03 · in Ox is a fast text editor, written in Rust, that runs in your terminal -
…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
comment by burntsushi · 2020-10-30 · in Software licensing and my opposition to copyleft -
It's ripgrep https://github.com/BurntSushi/ripgrep
comment by ivanche · 2020-10-23 · in YouTube-dl has received a DMCA takedown from RIAA -
https://github.com/BurntSushi/ripgrep
comment by stalled · 2020-10-23 · in YouTube-dl has received a DMCA takedown from RIAA -
…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 -
…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 -
…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…
comment by burntsushi · 2020-08-22 · in Moreutils – Unix tools that nobody thought to write (2012) -
…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? -
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? -
https://github.com/BurntSushi/ripgrep
comment by The_rationalist · 2020-07-23 · in Why GNU grep is fast (2010) -
>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 -
…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
comment by 0xADEADBEE · 2020-06-09 · in Ask HN: Which tools have made you a much better programmer?