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
-
…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 -
https://github.com/BurntSushi/ripgrep#is-it-really-faster-th...
comment by PudgePacket · 2019-04-16 · in Ripgrep 11 Released -
…( https://insights.stackoverflow.com/survey/2019?utm_source=so... ). More "technical" reasons here: https://github.com/BurntSushi/ripgrep#why-should-i-use-ripgr... . For me, the performance is best in class, ux is great, and has defaults…
comment by PudgePacket · 2019-04-16 · in Ripgrep 11 Released -
▲ 410
Ripgrep 11 Releasedstory by burntsushi · 2019-04-15 · 88 comments
-
…without that much apparent progress. Really? What makes you say that? Have you tried it? $ git clone git://github.com/BurntSushi/ripgrep $ cd ripgrep $ git checkout 0.4.0 $ time cargo +1.12.0 build --release real 1:09.13 user 2:06.08 sys…
comment by burntsushi · 2019-04-11 · in Rust 1.34.0 -
Origins of the name: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#int...
comment by burntsushi · 2019-03-30 · in Why GNU grep is fast (2010) -
Well, I did not find a crash (yet), but at least some deadlock (probably). https://github.com/BurntSushi/ripgrep/issues/1231
comment by gray_-_wolf · 2019-03-29 · in Why GNU grep is fast (2010) -
use ripgrep it's faster https://github.com/BurntSushi/ripgrep and appropriately named
comment by slowrabbit · 2019-03-29 · in Why GNU grep is fast (2010) -
it's mentioned elsewhere in this thread but you should try ripgrep https://github.com/BurntSushi/ripgrep
comment by twalla · 2019-03-29 · in Why GNU grep is fast (2010) -
GNU grep is an excellent tool! A similar tool that is rising in popularity is ripgrep ( https://github.com/BurntSushi/ripgrep ), which can be orders of magnitude faster than GNU grep. Give it a try!
comment by harveywi · 2019-03-29 · in Why GNU grep is fast (2010) -
…on my experience with it, when I need a utility I seek out one that's written in rust. I'm using https://github.com/BurntSushi/ripgrep which is rg, like ack or ag (TheSilverSearcher). I've been using it for a few months, and I like it just…
comment by benatkin · 2019-03-22 · in Programming Language Rankings: January 2019 -
…that installing a fast search tool like ripgrep makes fzf _way_ faster over large directory trees. https://github.com/BurntSushi/ripgrep
comment by hairui · 2019-03-07 · in Ask HN: How do you keep your files organized on macOS? -
This appears to be the same algorithm used by ripgrep ( https://github.com/BurntSushi/ripgrep ) for searching when SIMD/AVX is enabled. Specifically, it uses the algorithm Teddy from the library that’s derived from this paper.
comment by hlieberman · 2019-02-28 · in Hyperscan: A Fast Multi-Pattern Regex Matcher for Modern CPUs -
The FAQ question I linked in my previous comment directly addresses most of your complaining: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... --- In particular, note the statements about what it means to "replace" grep. >…
comment by burntsushi · 2019-02-27 · in Find Files (Ff) – File Search Utility in Rust -
…it is." Language and perspective is funny like that. > whatever you want to call "smart". Related: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
comment by burntsushi · 2019-02-27 · in Find Files (Ff) – File Search Utility in Rust -
…at the top of the page people who came to actually download the tool will look first. Which is ` https://github.com/burntsushi/ripgrep` .
comment by nurettin · 2019-02-27 · in Find Files (Ff) – File Search Utility in Rust -
From https://github.com/BurntSushi/ripgrep > Like other tools specialized to code search, ripgrep defaults to recursive directory search and won't search files ignored by your .gitignore files. It also ignores hidden and binary files by…
comment by iruoy · 2019-02-27 · in Find Files (Ff) – File Search Utility in Rust -
…CLI utilities there. :) Another technique I use is to spider a site (respectfully) and then use https://github.com/BurntSushi/ripgrep or load the spidered data into a local Elastic search. Some of what you outline in searching other parts…
comment by sitkack · 2018-12-13 · in Internet Search Tips -
…managers never have the latest version. Here's ripgrep's apt installation instructions: curl -LO https://github.com/BurntSushi/ripgrep/releases/download/0.10.0/ripgrep_0.10.0_amd64.deb sudo dpkg -i ripgrep_0.10.0_amd64.deb There's no way…
comment by Zarel · 2018-12-02 · in Terminals Are Sexy -
…are any substantial features present in ag that are absent from rg. See my note in the README: https://github.com/BurntSushi/ripgrep#feature-comparison
comment by burntsushi · 2018-11-25 · in Ask HN: Best Command-Line Applications? -
…folks use ripgrep. A lot of people like its smart filtering by default. Some don't though. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
comment by burntsushi · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
ripgrep like grep but faster https://github.com/BurntSushi/ripgrep
comment by gameswithgo · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
…tig: https://github.com/jonas/tig/ ag or rg: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep And all my configurations, especially for fish-shell: http://github.com/c02y/dotfiles
comment by codychan · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
…these great tools all written in Rust: fselect - https://github.com/jhspetersson/fselect ripgrep - https://github.com/BurntSushi/ripgrep exa - https://the.exa.website They are the replacements for traditional find, grep, and ls.
comment by IgorrrR · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
…but you should check out ripgrep - it's even faster than Silver Searcher a lot of the time https://github.com/BurntSushi/ripgrep
comment by CJKerr · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
rg (ripgrep): https://github.com/BurntSushi/ripgrep I used to use ag (the silver searcher) [1] before, and `ag` was practically a muscle memory to me, but then I came across ripgrep and it was so much faster. I've now installed a static…
comment by adtac · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
…daily - Pandoc a handy document format converter: https://pandoc.org/ - Ripgrep, a faster grep: https://github.com/BurntSushi/ripgrep - There are quite a few prompt-toolkit based CLI which have been really nice: * mycli (…
comment by artwr · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
These are pretty good tools for 'grepping' on file systems: https://github.com/BurntSushi/ripgrep https://github.com/ggreer/the_silver_searcher
comment by TheGrassyKnoll · 2018-11-13 · in Improving DuckDuckGo -
…compatible tools. This general confusion comes up so often that I have a FAQ item for it: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
comment by burntsushi · 2018-11-08 · in Is it time to rewrite the operating system in Rust? [slides] -
FWIW rg is faster than gnu grep https://github.com/BurntSushi/ripgrep#quick-examples-compari...
comment by SSLy · 2018-10-28 · in What I Learned from porting my projects to FreeBSD -
…ripgrep? We actually already have different default colors for Windows as opposed to unix.[1] [1] - https://github.com/BurntSushi/ripgrep/blob/acf226c39d7926425...
comment by burntsushi · 2018-10-09 · in 12 Factor CLI Apps -
…always cranking out awesome tools. I use ripgrep [1] on a daily basis as a grep replacement [1] https://github.com/BurntSushi/ripgrep
comment by miguelmota · 2018-09-09 · in XSV: A fast CSV command-line toolkit written in Rust -
…]; then echo "ripgrep is up to date" exit 0 fi name="ripgrep_${latestvers}_amd64.deb" url="https://github.com/BurntSushi/ripgrep/releases/download/$latestvers/$name" (cd /tmp && curl -LO "$url" && sudo dpkg -i "$name") echo "ripgrep…
comment by burntsushi · 2018-09-08 · in Ripgrep is faster (2016)