We are stuck with egrep and fgrep (unless you like beating people)
1–10 of 354 posts
Re: We are stuck with egrep and fgrep (unless you like beating people)
#2I'm usually in favour of having one way to do things but in this case, with this much legacy it just doesn't seem worth it.
Re: We are stuck with egrep and fgrep (unless you like beating people)
#3Re: We are stuck with egrep and fgrep (unless you like beating people)
#4Re: We are stuck with egrep and fgrep (unless you like beating people)
#5Isn't 15 years more than enough time to handle the deprecation?
Re: We are stuck with egrep and fgrep (unless you like beating people)
#6Re: We are stuck with egrep and fgrep (unless you like beating people)
#7> The egrep and fgrep commands have been deprecated since 2007. Isn't 15 years more than enough time to handle the deprecation?
Re: We are stuck with egrep and fgrep (unless you like beating people)
#8On the first point the author only gives hypothetical examples. I feel the argument might have been more compelling if we could see some concrete examples of things that break with GNU Grep 3.8.
As for the second point, I find it less convincing than the first one. If it's just the muscle memory then an alias would be an acceptable workaround. And I doubt that "everyone in the world" would want such an alias, as the author suggests.
Re: We are stuck with egrep and fgrep (unless you like beating people)
#9alias fgrep='grep -F'
Re: We are stuck with egrep and fgrep (unless you like beating people)
#10The blog makes two main points: 1) adding new error messages causes compatibility problems; 2) some people are used to typing "egrep". On the first point the author only gives hypothetical examples. I feel the argument might have been more compelling if we could see some concrete examples of things that break with GNU Grep 3.8. As for the second point, I find it less convincing than the first one. If it's just the mu…
I haven’t done anything with fgrep and egrep before but piping grep into another grep for more complex classes of text search is something i use a lot.