From: Damien Wyart Date: 2005-10-06T13:32:00+09:00 Subject: Re: One-liner removing duplicate lines * "Vincent Foley" in comp.lang.ruby: > How about the uniq(1) program? uniq infile > outfile Using uniq is not stable, ie you have to use sort(1) before, and the initial order of lines is not kept. -- Damien Wyart