27 ms·
I mean they could just make it an alias that calls the appropriate grep function, and mention fgrep/egrep are just aliases in all the documentation. Tools like
by Cthulhu_ 4y ago
I mean they could just make it an alias that calls the appropriate grep function, and mention fgrep/egrep are just aliases in all the documentation. Tools like ShellCheck could warn on use of fgrep/egrep in scripts in favor of grep if it wants things to be pure.
But the cost of keeping an alias around for decades is negligible I think. It's cheaper than breaking every existing usage in any case.