[Babase] Members comparison
Karl O. Pinc
babase@www.eco.princeton.edu
Thu, 22 Sep 2005 15:34:46 +0000
On 09/22/2005 07:39:51 AM, Catherine Markham wrote:
> Hi Karl,
>
> Just a quick question regarding the Members Comparison... what do the
> lines beginning with "@@" mean? Here's an example:
>
> ABB 1998-09-11 1.20 I 1
> ABB 1998-09-12 1.20 I 2
> @@ -2588,21 +2603,6 @@
> ABD 2005-06-26 1.21 I 1
> ABD 2005-06-27 1.21 I 1
> ABD 2005-06-28 1.21 C 0
The @@s demark the beginning of a set of changes. The two
numbers 2588 and 2603 are the line numbers where the changes start, one
line number for each of the two files being compared.
The numbers after the column are the number of lines
from the file that show up in the changeset. 21 lines
from the foxpro file but only 6 from the postgres file.
(So, that change consists of 15 "deleted" rows.) The
- and + say which file the line numbers refer to.
>
> Does this matter for the comparison, or should I just focus on the
> plus and minus rows?
Doesn't matter. In this case you don't care about where the
changes are in the original files.
However, unless I do something fancy, the output of the new
"compare" program will look the same, and there you probably
will care which line numbers you're looking at.
Karl <kop@meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein