4 ms·
Because you aren’t the first one here. Countless lines of software exist which assumes posix. People learned how to use computers and know the grep commands. Th
by grandempire 2y ago
Because you aren’t the first one here. Countless lines of software exist which assumes posix. People learned how to use computers and know the grep commands. There is documentation for posix in places where it needs to be. It handles important edge cases which were needed by some groups and that was formalized into a standards requirement.
So changing to the new thing invalidates all that existing value.
That’s not argument to never do anything new, but it’s an argument why for your UNIX-like OS should ship the standard boring thing instead of the shiny new thing in the base install.
- estebank 2y agoHaving ripgrep installed by default doesn't preclude grep also being installed.
- grandempire 2y agoIndeed. So why it should it come by default?
- bbkane 2y agoHave you used ripgrep? It's so much nicer for day to day usage! That's why it should come by default. Seriously, try it out, I'm sure you'll love it!
- shmerl 2y agoI'd say POSIX is sometimes overrated. Example: https://github.com/mpv-player/mpv/commit/1e70e82baa91 https://github.com/mpv-player/mpv/commit/1e70e82baa91 Anyway, I don't see any of that as a reason for not having ripgrep installed everywhere by default and as an argument for not using it.
- grandempire 2y agoIt doesn’t matter if it’s over or underrated - what matters is if you want to be compatible with existing code and documentation. I wish C didn’t have strtok, but it’s too late.
- shmerl 2y agoI don't specifically want to be compatible with it, no. I mean if ripgrep works for my needs - I'll use it and won't worry if it's POSIX compatible or not.
- grandempire 2y agoGreat. But we don’t need it in base.
- shmerl 2y agoThat's what I don't necessarily agree with.