Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't like find. Nor do I like vi (not vim, vi) and/or maybe others. I don't wish to stamp on someone's parade who's more accomplished than I am. But I think these "new" tools miss the point.

I use vi because I know it exists on every(?) system ever. It's not like I go out of my way seeking vi. I feel the feeling is similar for find. It works. It works well. It works the same on all systems I work on.

Would I go out of my way to install find on my system? Probably not.



They don't miss the point. We're well aware they aren't ubiquitous and that is indeed one of their costs.[1]

If the old tools are working well for you, then keep using them! I used plain grep for well over a decade before writing ripgrep. Hell, sometimes I still use grep for precisely the reason you describe: it is ubiquitous.

Also, not every grep behaves the same. Not even close. Unless you're being paranoid about how you use grep, it's likely you've used some feature that isn't in POSIX and thus isn't portable.

Uniquity and portability aren't "the point." Uniquity is a benefit and portability can be a benefit or a cost, depending on how you look at it.

[1] - https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...


I should have phrased this as a question, instead of being dismissively declarative.

>If, upon hearing that "ripgrep can replace grep," you actually hear, "ripgrep can be used in every instance grep can be used, in exactly the same way, for the same use cases, with exactly the same bug-for-bug behavior," then no, ripgrep trivially cannot replace grep. Moreover, ripgrep will never replace grep. If, upon hearing that "ripgrep can replace grep," you actually hear, "ripgrep can replace grep in some cases and not in other use cases," then yes, that is indeed true!

I think this statement says it all.


Yes, it's a persistent misunderstanding because communication is hard and folks aren't always exactly precise. It is very common to hear from someone, "ripgrep has replaced grep for me." You might even here people state it more objectively, like, "ripgrep is a grep replacement." The problem is that the word "replace" or "replacement" means different things to different people. So that FAQ item was meant to tease those meanings apart.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: