I have two text files, one of around 900 lines and another of about 1600 lines. Both files have duplicated lines. I'm trying a get a third file which contains ONLY the unique lines from these two files. Initially it seemed that 'diff' would be the answer but for the life of me I cannot work out how to get the result I'm looking for. Could some give me a pointer? Cheers John -- "The number of UNIX installations has grown to 10, with more expected" (The UNIX Programmer's Manual, 2nd Edition, June 1972.) Registered Linux User: 102826