#egrep

Jesús Gómezjgomo3
2024-05-27

Practica tu reguexperimentación con Quodrle[1] y grep|egrep 😅

Mi último regexp del ejercicio:

```
$ grep '^b....$' /usr/share/dict/words | grep r | grep '^b..[^r].$' | egrep -v 'h|e|l|o|a|s|u|g|u|l|y|f|z|t'
brick
brink
```

[1] merriam-webster.com/games/quor

2024-03-27

W jednym z pokoi matriksowych, które lurkuję padło pytanie, jak policzyć w LibreOffice słowa, ale z pominięciem jednoliterowych.

Temat wydał mi się ciekawy, więc trochę poszukałem i skleiłem znalezione dwa myki: sposób na konwersję .odt do .txt z egrepowaniem słów o odpowiedniej minimalnej długości. Może się komuś przyda:

libreoffice --headless --convert-to txt:Text test.odt &> /dev/null && < test.txt egrep -wo '[[:alnum:]]{2,}' test.txt | wc -w && rm test.txt

#LibreOffice #egrep #IlośćSłów #odt #txt #jednolinijkowiec

Linuxsmithslinuxsmiths
2024-03-05

The advantages of using the Linux egrep Command

Linux users often rely on powerful commands to manipulate text and data efficiently. One such command that stands out for its versatility and effectiveness is the egrep command. The egrep command is a variant of the grep command, which is used for searching text using regular expressions. Here are some key advantages of using the Linux egrep command:

1.

linuxsmiths.com/linux-egrep-co

Julio J. 🀲j3j5@hachyderm.io
2023-10-07

Does anybody have experience with zipgrep? I'm trying to run a regex with alternation but for some reason it's not working. I run:

zipgrep -E "(wordA|wordB)" file.zip

on a zip file which I know it contains bot words within its files, but it returns nothing, if I uncompress the file and run egrep, it works fine 🤯

Edit: fixed the command again bc apparently I can't type

#grep #egrep #help #askFedi #linux

2023-06-03

@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

2023-04-28

@penguin42 @cks

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

debbugs.gnu.org/cgi/bugreport.

#GNU #grep #egrep #fgrep

2023-04-20

@cks

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

bugs.debian.org/cgi-bin/bugrep

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

Certificação Linuxcertificacaolinux
2019-04-03

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
certificacaolinux.com.br/expre

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst