3 ms·
The FAQ question I linked in my previous comment directly addresses most of your complaining: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#posix4eve
by burntsushi 8y ago
The FAQ question I linked in my previous comment directly addresses most of your complaining: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#posix4ever https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos... --- In particular, note the statements about what it means to "replace" grep.
> So in cases where the new "improved" tool departs from old standard [1], it just add one more thing, that can screw you, especially if it comes over as a replacement.
The solution to this is so stupidly simple. If this is a problem for you, then _don't use the new tool_.
ripgrep is not a replacement for POSIX grep.
Repeat after me. ripgrep is not a replacement for POSIX grep. I've never once marketed it as such. Others might. Why? See the FAQ for an explanation.
> grepping for settings in dot files is not exactly a corner case for me.
It's not for me either. Why does everything have to be black and white? Just because it isn't covered by default doesn't mean anyone thinks it's a corner case. It is precisely because it is not a corner case that ripgrep makes it very easy to disable "smart" filtering.
And once again, of course, if you do not want to be bothered by this, then don't use the tool.
- unionpivo 8y agoI read that FAQ before I made my previous comment, and I don't see how it really changes anything I wrote. I don't expect ripgrep to change, or to cater to my needs, like you said I don't have to use it. I managed to figure that out on my own, but thanks anyway. Perhaps I expressed myself poorly, or we are misunderstanding each other, but it doesn't really matter. Thanks for writing ripgrep, I might not use the utility, but when I stared learning rust, ripgreps source was one of the sources I looked at as a nontrivial cli app. Have a nice day.