Re: differences

From: David Cressey <david_at_dcressey.com>
Date: Fri, 01 Feb 2002 11:03:01 GMT
Message-ID: <FBu68.19566$Nq6.11591_at_petpeeve.ziplink.net>


Is diff in Unix the same as diff was in MS-DOS? If so, the problem it tackles is fundamentally different from
finding the differences between two sets.

diff looks for differences between two sequences of lines of text. The presence of a line in B that is "between" two lines of B that are both in A, is displayed in the output. The concept of "between" doesn't exist in unordered sets. Once you add order to a set, you are talking about a different animal.

So which is it? The set difference or the sequence difference?

--
Regards,
    David Cressey
    www.dcressey.com
Received on Fri Feb 01 2002 - 12:03:01 CET

Original text of this message