ripgrep
ugrep
ripgrep | ugrep | |
---|---|---|
368 | 25 | |
53,166 | 2,847 | |
2.5% | 1.4% | |
7.2 | 8.4 | |
25 days ago | 2 days ago | |
Rust | C++ | |
The Unlicense | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ripgrep
-
Stop struggling with Rust CLI tool installs: the only guide you need (Mac, Linux, Windows)
ripgrep GitHub Fast alternative to grep
-
Bzip2 crate switches from C to 100% rust
I didn't call ripgrep a replacement. Other people do. Because it does actually replace their usage of grep.
https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#can...
-
Replacing Kubernetes with Systemd
> The maintainer also has been pretty rude to me about this on HN.
This is AFAIK the only other interaction we've had: https://news.ycombinator.com/item?id=41051587
> but it's still crazy to think people won't be caught off guard by this behavior
Straw-manning is also crazy. :-) People have and will absolutely be caught off guard by the behavior. On the flip side, as I said 9 months ago, ripgrep's default behavior is easily one of the most cited positive features of ripgrep aside from its performance.
The other crazy thing here is... you don't have to use ripgrep! It is very specifically intended as a departure from traditional grep behavior. Because if you want traditional grep behavior, then you can just use grep. Hence why ripgrep's binary name is not `grep`, unlike many other implementations of POSIX grep.
> Its name is literally indicating it's a grep replacement.
I also tried to correct this 9 months ago too. See also: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
For anyone else following along at home, if you want ripgrep to search the same files that GNU grep searches, then do `rg -uuu`. Or, if you don't want ripgrep to respect your gitignores but ignore hidden and binary files, then do `rg -u`.
-
ripgrep: Not Just a Faster grep, but a Sharper One
When you think ripgrep (rg), you probably think "fast regex search tool."
-
fd: A simple, fast and user-friendly alternative to 'find'
I'm sure you can get creative. :-) You can set an environment variable to control the encoding, expose a flag or any one of a number of other things to control the encoding.
You've also continued to ignore my most substantive rebuttal: that a specific example where ripgrep is not compatible with grep or doesn't behave the same doesn't mean it can't be used in shell pipelines. Literally nothing you've said has invalidated anything I've said. All you're doing is finding things that some implementations of grep can do that ripgrep (intentionally) cannot do in exactly the same way. But that's fine, because ripgrep was never, isn't and will never be compatible with grep: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
So if you need grep compatibility get a fucking clue and just use grep.
-
I stopped everything and started writing C again
> Rust applications are sometimes (often?) slower than comparable C applications
Could you cite some examples? There are plenty of counter-examples
- ripgrep is 5-10x faster than grep (https://github.com/BurntSushi/ripgrep/blob/962d47e6a1208cf21...)
- Memory-safe implementations of PNG (png, zune-png, wuffs) now dramatically outperform memory-unsafe ones (libpng, spng, stb_image) when decoding images. (https://www.reddit.com/r/rust/comments/1ha7uyi/memorysafe_pn...)
- I don't consider the benchmarks game a worthwhile comparison because they're only writing assembly, but Rust and C are comparable in speed (https://benchmarksgame-team.pages.debian.net/benchmarksgame/...)
- Advent of Code - I came across Rust codebases which solved all of AoC 2024 in under 1 millisecond (almost fully assembly), and also ordinary, idiomatic code in under 100 milliseconds. I don't recall anyone ever posting a C codebase with perf measurements, but I could have missed this.
I'm surprised by the "often", but I'd be interested in any cases where C outperforms Rust. Please share if you've found any.
- How to combine rg with less in terminal
-
17 Essential CLI Tools to Boost Developer Productivity
ripgrep
- Resolving a mysterious problem with find
-
fd - A simple, fast and user-friendly alternative to 'find'
The original comment said nothing about modifying servers or AWS engineers installing random shit. That was you. I responded to "moving binaries around," and you started yapping about change management. Two totally different things. Like obviously if you have a locked down environment, then only install what you need. But this is not what the original poster was referring to specifically.
ripgrep even specifically calls out this exact use case right in its README: https://github.com/BurntSushi/ripgrep/?tab=readme-ov-file#wh...
> You need a portable and ubiquitous tool. While ripgrep works on Windows, macOS and Linux, it is not ubiquitous and it does not conform to any standard such as POSIX. The best tool for this job is good old grep.
So, you presume too much friendo. Now, go away.
ugrep
- fd: A simple, fast and user-friendly alternative to 'find'
- Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
- The ugrep file pattern searcher
-
Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
I switched from from ripgrep to ugrep and never looked back. It's just as fast, but also comes with fuzzy matching (which is super useful), a TUI (useful for code reviews), and can also search in PDFs, archives, etc.
The optional Google search syntax also very convenient.
https://ugrep.com
-
ugrep 4.3.2 with updated TUI
Installation and user guide: ugrep.com (no ads, no cookies, just plain HTML in a GitHub page)
- New Ugrep 4.0
-
ugrep 4.0 released + performance benchmarks
Not heard of ugrep? Read the wiki on GitHub.
-
ripgrep is faster than {grep, ag, git grep, ucg, pt, sift}
These ripgrep announcements are getting a bit old, don't you think? Ripgrep hasn't improved or added new features since 2016. There are other fast alternatives with a lot more features, like ugrep and qgrep for example. Ugrep has fuzzy regex pattern search, archive search (even nested archives!), Boolean search queries like Google, interactive query TUI, hexdumps, and is compatible with GNU grep (ripgrep is not).
-
ugrep vs. grep – What are the differences?
It's the first time I hear about the ugrep. Would be nice to compare it with ripgrep, since both provide benchmark tables listing their tool at the top :D. For my everyday use speed doesn't matter much, as well as interactive mode seems useless (YMMV). So I'm staying with ripgrep for now.
- ugrep 3.10 - yet another grep for you - this one is fast and has a ton of cool features: now outputs directory trees for your viewing pleasure
What are some alternatives?
fd - A simple, fast and user-friendly alternative to 'find'
procps
Parallel
so_stupid_search - It's my honor to drive you fucking fire faster, to have more time with your Family and Sunshine.This tool is for those who often want to search for a string Deeply into a directory in Recursive mode, but not with the great tools: grep, ack, ripgrep .........every thing should be Small, Thin, Fast, Lazy....without Think and Remember too much ...一个工具最大的价值不是它有多少功能,而是它能够让你以多快的速度达成所愿......
xsv - A fast CSV command line toolkit written in Rust.
altbox - Website for altbox.dev, the alternative toolbox for developers