$ sort -u db.txt > outdb.txt [download]
In reply to Re: Remove Duplicate Lines by rbc in thread Remove Duplicate Lines by dcb0127