From: Louis J Scoras Date: 2005-10-06T06:16:15+09:00 Subject: Re: One-liner removing duplicate lines ------=_Part_10553_1413365.1128546972034 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/5/05, Vincent Foley wrote: > > How about the uniq(1) program? uniq infile > outfile Converting from Perl to Ruby, I am trying to find an equivalent to this > Perl one-liner removing duplicate lines in a file (without sorting it at > first) : He doesn't want sort the file first =3D) ------=_Part_10553_1413365.1128546972034--