|
From: | Roy Fulbright |
Subject: | [bug-obsolete-packages] 'comm' command -- bug |
Date: | Mon, 30 Dec 2013 16:31:56 -0500 |
The 'comm' command has a bug.
If the first line of the two files to be compared are not equal, none of the lines are displayed as equal. Example: When 'comm' is run against good-file1 and good-file2, lines with a, b, and c are displayed as equal. When 'comm' is run against bad-file1 and bad-file2, no lines are displayed as equal, because the first lines are not equal. ==> good-file1 <== a b c x ==> good-file2 <== a b c y ==> bad-file1 <== x a b c ==> bad-file2 <== y a b c Best Regards, Roy Fulbright |
[Prev in Thread] | Current Thread | [Next in Thread] |