Tenta aí... grep -B5 -A2 "^registro: 8" arquivo.txt
Abs, André Saunite 2009/6/16 Flavio Torres <fla_tor...@yahoo.com.br>: > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Adriano Nunes wrote: >> >> Preciso que seja capturado os e-mails, apenas dos registros que tem o > numero 8. >> >> Alguém pode me ajudar, por gentileza! >> >> > > Fala Adriano, > > Deve chegar por aí melhores idéias... > > grep "registro: 8" ARQUIVO -B 3 | grep mail > > []'s > > - -- > > /*---------------------------------------------------*/ > /* * Flavio Torres - Administrador de Sistemas*/ > /* /_\ */int y,z;main(x){x=(x>0?-9:x);z=((z=(x+5) > /* o. .o */)>0?z:-z);printf(!x&&++y?"\n":z?z>y%3+y/ > /* ((Y)) */3?" ":x<-5?"/":"\\":y?"|":"*");y-9?main( > /* ()) (() */++x):puts(" _|_|_")&&puts(" \\___/");} > /* ()^() A party animal isn't just for Christmas.*/ > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (MingW32) > > iEYEARECAAYFAko4TN8ACgkQNRQApncg29729QCfZsqL3ujPtcenEPJzxxZ0fwpQ > FB8An3FwFRblszz/6sDMjcuZrIzyl7fD > =2bqz > -----END PGP SIGNATURE----- > >