@cks

This is a perennial stupidity in the C and C++ worlds.

Because the C and C++ standards leave some things up to _other_ standards, including (ironically) #POSIX, the idea that one shouldn't talk about them in the comp.std.c and comp.std.c++ newsgroups mutated into a stupid dogma that C and C++ programs shouldn't rely upon anything from these other standards.

#fgrep and #egrep are in the SVID. (-:

#GNU #grep #Unix

@penguin42 @cks

That's the thing. The GNU egrep and fgrep _already are_ shell scripts. Paul Eggert added this change _to those shell scripts_.

https://debbugs.gnu.org/cgi/bugreport.cgi?msg=17;att=1;bug=49996;filename=0001-egrep-fgrep-now-obsolete.patch

#GNU #grep #egrep #fgrep

Error

@cks

You're a bit late. Debian had a bug about this, and patched the warnings out, back in 2022.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019335

The Debian bug log also points to the two GNU project bug reports, where Paul Eggert et al. argued against undoing the new behaviour.

#GNU #grep #fgrep #egrep

#1019335 - Reconsider the egrep and fgrep deprecation - Debian Bug report logs

Alternatives to Deprecated Linux Commands

FOSSlife

Expressões Regulares no Linux
Vamos falar sério. Tirem as crianças da sala. Se você não sabe um tiquim de expressões regulares, você não sabe Linux ainda. É igual ter um Iate para andar na piscina de casa.

Uma expressão regular é um método formal de se especificar um padrão de texto a ser procurado em um ou mais arquivos.

É uma composição de caract
https://www.certificacaolinux.com.br/expressoes-regulares-no-linux/
#egre #egrep #expressões #fgrep #regex #regulares

Expressões Regulares no Linux - Certificação Linux

Se você não sabe um tiquim de expressões regulares, você não sabe Linux ainda. É igual ter um Iate para andar na piscina de casa. Aprenda um pouco agora!

Certificação Linux