On Mon, 12 Jun 2006 12:19:46 -0500, Teresa and Dale wrote:

> uniq -u /home/dale/Desktop/hosts /home/dale/Desktop/hostsort

uniq only removes consecutive duplicate line, you need to use sort first

sort file | uniq >newfile

or, possibly, depending on the format of your file

sort -u file >newfile


-- 
Neil Bothwick

Few women admit their age. Few men act theirs.

Attachment: signature.asc
Description: PGP signature

Reply via email to