4 ms·
> It would be nice to have a ripgrep without libpcre2. Blame your packagers for that, not me. PCRE2 is an optional dependency that isn't enabled by default. If
by burntsushi 3y ago
> It would be nice to have a ripgrep without libpcre2.
Blame your packagers for that, not me. PCRE2 is an optional dependency that isn't enabled by default. If you bothered to read the README, you'd know that.
Your packagers probably enable PCRE2 because nobody gives a fuck about a MB or two. And if you do, compile your own damn software.
> It also would be nice to use BRE by default and make ERE optional, similar to grep.
Disagree. No thanks.
> What would compiling ripgrep from source entail. Would it be as easy as compiling ired.
cargo build --release
Read the docs maybe?
> ired compiles in seconds and compiling requires less than 1MB of disk space. No connection to any server is required to compile the program.
I don't care. Go talk to the Debian people. They know how to build Rust software without connecting to the Internet. Cargo supports that workflow, but it's not the default.
ripgrep isn't minimalist software. Never was. Never will be. If that's a requirement, then tough cookies.
> The answer is no; I am looking for context.
And who knows if you'll find it with ired given that it doesn't implement substring search properly. I demonstrated this with a simple example days ago. You continue to ignore it. This is why your commentary is dishonest. You keep looking for other reasons to prop up ired. Shifting goalposts. And not even bothering to acknowledge that I already told you days ago that ripgrep and ired are two different tools. They don't target the same use cases.
Go back to the start of our conversation. All I did was correct an erroneous complaint about perf where you snubbed your nose. Since then, you've hemmed and hawed and tried to turn this into a broader discussion about whether ripgrep can replace ired. I never said it could. rg -o might be able to hit some subset of ired faster than ired, but I don't claim anything beyond that. I mean obviously ripgrep works better on line oriented data. It is a grep!
Your tunnel vision is so intense you can't even realize that you're trying to rationalize the use of broken software. Who the fuck cares if it's fast or let's you show windowed context if it can't even report every match?
Fast and user friendly doesn't mean shit if it's wrong. The fact that you can't acknowledge that reveals the dishonesty in your commentary.