Re: [assunto paralelo] imprimir linhas que contenham valores repetidos
Em Sun, 6 Jul 2008 02:29:10 -0400
"Jarbas Peixoto Júnior" <jarbas.junior@gmail.com> escreveu:
> Teste ai!
>
> jarbelix@jarbelix-desktop:~/tmp$ cat teste.txt
> A 3 3 4 5
> B 2 3 4 5
> C 4 4 5 6
> D 4 5 6 7
> jarbelix@jarbelix-desktop:~/tmp$ grep -E "([[:cntrl:]][[:digit:]])\1"
> teste.txt A 3 3 4 5
> C 4 4 5 6
Bem, não produz qualquer saída...
/tmp$ cat teste_NUM.txt
A 3 3 4 5
B 2 3 4 5
C 4 4 5 6
D 4 5 6 7
/tmp$ grep -E "([[:cntrl:]][[:digit:]])\1" teste_NUM.txt
/tmp$
Gracias,
--
Gunther Furtado
gunfurtado@gmail.com
Reply to: