in reply to comparign two files

If you are on a Unix platform, comm is the utility you want. It differentiates lines of the two input files into 'unique to file A', 'unique to file B', and 'common to both'. command line flags controls which of those categories are output.

--
TTTATCGGTCGTTATATAGATGTTTGCA

Replies are listed 'Best First'.
Re: Re: comparign two files
by Happy-the-monk (Canon) on Mar 09, 2004 at 19:48 UTC

    as the comm(1) manual says you'd have to sort(1) the files first. There are some versions of uniq(1) that will also do it, should comm be missing.

    Sören