[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Eliminar linhas iguais



On Fri, 14 Mar 2003 13:20:08 -0300
Mario Olimpio de Menezes <mario@curiango.ipen.br> wrote:

> uniq(1) e sort(1) são os teus amigos:
> 
> $ cat arquivo.dat | sort | uniq
 
sort -u arquivo.dat

Elimina 2 processos, o cat e uniq. ;)


[]s
Rodrigo



-- 
B08C 6AF4 6ACB 7493 DC81  1231 9A5B 3EB5 D1B0 4A1D

Attachment: pgph4t8ME6ONP.pgp
Description: PGP signature


Reply to: