PERFECT!!!! simple, one line, and works fine!!!
Thanks On Wed, 2002-05-29 at 00:56, Dave Carrigan wrote: > O Senhor <[EMAIL PROTECTED]> writes: > > > How can i delete equal lines from a file, without sort it? > > If i use sort -u, the command clean up the repeat lines, but sort my > > file (ascendent). I don't want this. I need my file in original form. > > perl -ne 'print unless $lines{$_}++' filename > > -- > Dave Carrigan ([EMAIL PROTECTED]) | Yow! ...I think I'm having an > UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | overnight sensation right now!! > Seattle, WA, USA | > http://www.rudedog.org/ | > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > -- ----------------------------------------------------------------- thesirbr O Senhor do Brasil. ----------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]