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. …have a flag to enable recursive search, but surely we care about features more than flags... [1] https://github.com/BurntSushi/ripgrep#why-should-i-use-ripgr...
  2. …— especially in conjunction with fzf/fzy — I'll make sure to mention the even faster rg (ripgrep): https://github.com/BurntSushi/ripgrep BurntSushi's write-up about the internal workings of ripgrep is also super interesting:…
    comment by lillesvin · 2017-12-22 · in Intermediate Vim tips
  3. …One of mine is in the community repo. People are working on debs, but it's slow going: https://github.com/BurntSushi/ripgrep/issues/10
    comment by burntsushi · 2017-12-21 · in Five years with Rust
  4. Pretty sure that's already happening with tools like ripgrep: https://github.com/BurntSushi/ripgrep
  5. …it runs for a long time. Edit 2: Looks like the problem in my edit is a known issue with ripgrep: https://github.com/BurntSushi/ripgrep/issues/200
  6. RipGrep doesn't have some very useful PCRE features. https://github.com/BurntSushi/ripgrep#why-shouldnt-i-use-rip... If you use lookarounds (or often use grep -P), RipGrep may not cover all of your needed use cases. That said, it's very…
  7. …Offering a compatibility mode with grep has been suggested, but is significant work. [1] - https://github.com/BurntSushi/ripgrep/issues/10
  8. …myself and I was completely unaware of fzf. However, I'm curious if you know `rg` (aka. ripgrep): https://github.com/BurntSushi/ripgrep In my experience it's markedly faster than `ag` (which is markedly faster than `grep`).
    comment by lillesvin · 2017-10-19 · in Vim after 15 Years
  9. …In any case, I filed an issue[1]. I think the UX is pretty tricky to get right though. [1] - https://github.com/BurntSushi/ripgrep/issues/631
  10. …and parallel traversal should be a boon. [1] - https://github.com/mysql/mysql-server [2] - https://github.com/BurntSushi/ripgrep/blob/e7c06b92fb996adcb...
  11. …Not for replacing those tools, but for supplementing them. Thinking of stuff like fd and: ripgrep: https://github.com/BurntSushi/ripgrep (grep/ag alt) xsv: https://github.com/BurntSushi/xsv (csv tool) exa: https://the.exa.website/ (ls)…
  12. …the speed goes to the amazing Rust modules 'ignore' and 'regex', which are also used by ripgrep ( https://github.com/BurntSushi/ripgrep ).
  13. …need is generic that other users can also use, submit a PR. The developer was kind to except mine.. https://github.com/BurntSushi/ripgrep/pull/107/files .. it's a trivial 1-line PR.
    comment by kaushalmodi · 2017-09-14 · in Interesting commands for the Linux shell
  14. …any case, I am very interested in this path and even have an issue on the ripgrep tracker for it: https://github.com/BurntSushi/ripgrep/issues/95 --- I'm not sure if it really belongs in ripgrep proper, but I would really love to collect…
  15. The README contains a quick breakdown: https://github.com/BurntSushi/ripgrep#quick-examples-compari... My blog post linked elsewhere goes into more detail, although I left out ack because it was too slow.
  16. …go back. Check it out if you haven't! Here is the repo and a technical breakdown by the author: https://github.com/BurntSushi/ripgrep http://blog.burntsushi.net/ripgrep/
  17. …bindings which would themselves only be JS / TS code (and might live in separate repos as well). ¹: https://github.com/BurntSushi/ripgrep
  18. …programs written in Rust yet", though. Oh, I thought of something better than just the compiler: https://github.com/burntsushi/ripgrep#installation * homebrew * chocolatey * arch * gentoo * fedora * RHEL/CentOS * Nix All have at least one…
  19. …ripgrep on pretty much any Linux because I distribute statically compiled binaries: $ curl -LO 'https://github.com/BurntSushi/ripgrep/releases/download/0.5.2/ripgrep-0.5.2-x86_64-unknown-linux-musl.tar.gz' $ tar xf ripgrep-0.5.2-*.tar.gz $…
    comment by burntsushi · 2017-07-04 · in Skip grep, use awk
  20. …I've switched to using it as my daily driver for text search and am incredibly happy with it. [1]: https://github.com/BurntSushi/ripgrep [2]: http://blog.burntsushi.net/ripgrep/ Edit: I confused awk with ag originally leading to this…
    comment by beefsack · 2017-07-04 · in Skip grep, use awk
  21. …For example, they don't benchmark GNU grep/ripgrep's `-f` flag for searching many regexes.) [1] - https://github.com/BurntSushi/ripgrep/blob/master/benchsuite... [2] - https://github.com/petdance/ack3/issues/42
    comment by burntsushi · 2017-07-04 · in Skip grep, use awk
  22. …[5] https://github.com/servo/servo [6] https://github.com/jwilm/alacritty [7] https://github.com/BurntSushi/ripgrep [8] https://github.com/valarauca/car
    comment by valarauca1 · 2017-06-28 · in Increasing Rust’s Reach
  23. …Silver Searcher and/or RipGrep for text searching. https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep
    comment by TheGrassyKnoll · 2017-06-26 · in Ask HN: How can I get better at bash?
  24. They switched to ripgrep which is insanely fast. https://github.com/BurntSushi/ripgrep
    comment by red2awn · 2017-05-26 · in Sublime Text 3 Build 3132 released
  25. …don't misrepresent other peoples' hard work while you're doing it. It's extremely rude. [1] - https://github.com/BurntSushi/ripgrep#installation
    comment by burntsushi · 2017-05-17 · in Two years of Rust
  26. Offtopic: using symbols make it hard to read for an outsider https://github.com/BurntSushi/ripgrep/blob/master/src/pathut...
    comment by swah · 2017-04-28 · in Rust 1.17
  27. Because you can build things like: * A faster grep ( https://github.com/BurntSushi/ripgrep ) * A GPU accelerated terminal emulator ( https://github.com/jwilm/alacritty ) * A web browser ( https://servo.org/ ) * A containerization system (…
    comment by l1ambda · 2017-04-27 · in Rust 1.17
  28. I guess it's the one that's part of ripgrep, https://github.com/BurntSushi/ripgrep/tree/master/globset > This crate implements globs by converting them to regular expressions, and executing them with the regex crate.
  29. If you mention ack, ag, and pt, you also have to mention ripgrep (rg) https://github.com/BurntSushi/ripgrep which has the usability features of the newer grep-alikes but is as fast or faster than gnu grep.
    comment by fanf2 · 2017-03-18 · in Programs that have saved me 100+ hours
  30. You should try ripgrep ( https://github.com/BurntSushi/ripgrep ) which has the same functionality but with 2 orders of magnitude faster.
    comment by 9diov · 2017-03-17 · in Programs that have saved me 100+ hours
  31. I would suggest https://github.com/BurntSushi/ripgrep over ag
    comment by rofrol · 2017-01-18 · in Mastering Bash and Terminal
  32. …Ok(_) => process::exit(0), Err(err) => { eprintln!("{}", err); process::exit(1); } } } https://github.com/BurntSushi/ripgrep/blob/master/src/main.r...
    comment by masklinn · 2017-01-11 · in Announcing Tokio 0.1
  33. http://blog.burntsushi.net/ripgrep/ There are only seven instances of unsafe: https://github.com/BurntSushi/ripgrep/search?q=unsafe&type=C... Four of them are related to calling libc/kernel32 functions, which need unsafe to be called. One…
    comment by steveklabnik · 2016-12-27 · in Rust vs C Pitfalls
  34. This is a great comment and ripgrep deserves a more prominent plug, clickable: https://github.com/BurntSushi/ripgrep
    comment by recuter · 2016-12-26 · in GNU Parallel
  35. …Issue/PR [1] I opened today to clarify documentation would make good live example of this :-) [1] https://github.com/BurntSushi/ripgrep/issues/284
    comment by YPCrumble · 2016-12-21 · in Taking a month off from OSS volunteering
  36. ripgrep's README will tell you: https://github.com/BurntSushi/ripgrep The short version: 1. It's faster. 2. It's not just faster on code repos, it's also faster than grep itself on single files, so you can use ripgrep in lieu of both ag…
    comment by burntsushi · 2016-12-04 · in Ripgrep code review
  37. …handles cross platform coloring shenanigans, including Windows consoles and mintty. It wasn't fun: https://github.com/BurntSushi/ripgrep/issues/94#issuecomment... --- The author did a great job reviewing the previous solution I used for…
    comment by burntsushi · 2016-12-03 · in Ripgrep code review
  38. Now check out ripgrep (command `rg`) https://github.com/BurntSushi/ripgrep , the ag/ack killer ;).
  39. …of libraries that are reusable in other applications. You can see my progress on that goal here: https://github.com/BurntSushi/ripgrep/issues/162 (And those are only the ones I wrote, nevermind all of the crates I use that have been…
  40. You can also get a Windows binary that I think should Just Work :-) https://github.com/BurntSushi/ripgrep/releases
  41. …GNU grep. See benchmarks: http://blog.burntsushi.net/ripgrep/#single-file-benchmarks See binaries: https://github.com/BurntSushi/ripgrep/releases
    comment by burntsushi · 2016-10-20 · in Ask HN: What is the state of C++ vs. Rust?
  42. Rust will be if is not already faster than C. Especially in real-life projects. One example would be https://github.com/BurntSushi/ripgrep Aliasing rules in C make some optimizations not possible in C. Good luck putting that `restrict`…
  43. faster still: https://github.com/BurntSushi/ripgrep
  44. …cargo doesn't confirm or deny this. You need to run `ldd` on the binary distributed: $ curl -sLO 'https://github.com/BurntSushi/ripgrep/releases/download/0.2.1/ripgrep-0.2.1-x86_64-unknown-linux-musl.tar.gz' $ tar xf…
    comment by burntsushi · 2016-09-28 · in Stali: A new static Linux distribution
  45. …hand, it makes little sense to dynamically link tiny libraries, e.g. a queue data structure. [0] https://github.com/BurntSushi/ripgrep
  46. I did a brief performance comparison with icgrep here: https://github.com/BurntSushi/ripgrep/issues/63 --- Yes, it does a little better on things like \p{Greek} (and has even better Unicode support than ripgrep) but is missing literal…
    comment by burntsushi · 2016-09-27 · in Ripgrep – A new command line search tool
  47. …be a huge help is if someone briefly wrote up what would be necessary to get ripgrep into macports: https://github.com/BurntSushi/ripgrep/issues/10
    comment by burntsushi · 2016-09-25 · in Ripgrep – A new command line search tool
  48. The releases are right there on GitHub: https://github.com/BurntSushi/ripgrep/releases
    comment by luckman212 · 2016-09-24 · in Ripgrep – A new command line search tool
  49. …that is indeed the intended way to do it. Sadly, I have an embarrassing bug. Should be fixed soon: https://github.com/BurntSushi/ripgrep/issues/43
    comment by burntsushi · 2016-09-24 · in Ripgrep – A new command line search tool
  50. Same! https://github.com/BurntSushi/ripgrep/pull/41 Agreed :-)
    comment by burntsushi · 2016-09-24 · in Ripgrep – A new command line search tool