News for hackers. Stuff that matters.
Re:We are stuck with egrep and fgrep (unless you like beatin... by jagtesh on Thursday October 13, 2022 @09:38AM (#33190762)
What’s wrong with removing the commands and adding shell aliases instead? That sounds perfectly reasonable to me.

eg. In bash, they can be expressed as:

alias fgrep=grep -F

alias egrep=egrep -E

This sounds like a push for purity - similar to what happened in Python 3 with the move from print “xyz” (special keyword) to print(“xyz”) (standard function).

The new function requires three additional keystrokes every time it is used.

Re:We are stuck with egrep and fgrep (unless you like beatin... by zorked on Thursday October 13, 2022 @09:39AM (#33190771)
It breaks my script that calls /usr/bin/fgrep