in reply to finding and deleting repeated lines in a file
sort -o thefile -u thefile [download]
-- Randal L. Schwartz, Perl hacker