News for hackers. Stuff that matters.
Re:It's Past Time To Stop Using egrep and fgrep Commands, Pe... by ggm on Monday September 05, 2022 @11:34PM (#32732508)
I don't see why. since grep -F and grep -E exemplify the code (PCRE aside) then why can't sys.argv() be checked for fgrep or egrep name, so that

  ln grep egrep;
just works? This feels like somebody rode their hobby horse round the table.
Re:It's Past Time To Stop Using egrep and fgrep Commands, Pe... by josephcsible on Sunday September 04, 2022 @04:42PM (#32717511)
What's the point of deprecating and removing these, since all of the code that actually implements them still has to be there for grep -E and grep -F to work?
Re:It's Past Time To Stop Using egrep and fgrep Commands, Pe... by gladiatr72 on Sunday September 04, 2022 @09:58PM (#32719695)
Thank Christ 3.7 will compile cleanly for many years to come. Let me guess.. RedHat sourced patch?
Re:It's Past Time To Stop Using egrep and fgrep Commands, Pe... by bashonly on Monday September 05, 2022 @12:02PM (#32725822)
also noteworthy is that grep -P will now use PCRE2 instead of PCRE, which is potentially a breaking change for anyone using grep -P in their shell scripts