crossetj
09-Jan-2004, 04:21 PM
We use Beyond Compare for just about every step of the development process. It's our diff tool for WinCVS, new
Some of our files have a 'row based' data structure that seems to confuse Beyond Compares alignment algorithms. A 'row based' records is one where a delimited section marks each record and each line within that record represents a field. The files all have a structure like this:
Header Section
= START ================================
[A bunch of row based records]
= END ==================================
Footer Section
Each row based record looks like this:
= TABLE_NAME ---------------------------
KEY_FIELD1 = Value
KEY_FIELD2 = Value
FIELD_1 = Value
...
FIELD_N = Value
The header and footer sections are all 'unimportant text'. What I want (but expect isn't possible right now) is to be able to tell Beyond Compare to treat each record as a block. That is everything from one
= TABLE_NAME ---------------------
to the next should be treated as a signle unit for alignment purposes. Is there any advanced support for this in BC or am I going to have to write a viewer plugin that understands my file structure? I have some control over the format of the files, but the general structure is pretty much fixed.
Thanks,
Trevor
Some of our files have a 'row based' data structure that seems to confuse Beyond Compares alignment algorithms. A 'row based' records is one where a delimited section marks each record and each line within that record represents a field. The files all have a structure like this:
Header Section
= START ================================
[A bunch of row based records]
= END ==================================
Footer Section
Each row based record looks like this:
= TABLE_NAME ---------------------------
KEY_FIELD1 = Value
KEY_FIELD2 = Value
FIELD_1 = Value
...
FIELD_N = Value
The header and footer sections are all 'unimportant text'. What I want (but expect isn't possible right now) is to be able to tell Beyond Compare to treat each record as a block. That is everything from one
= TABLE_NAME ---------------------
to the next should be treated as a signle unit for alignment purposes. Is there any advanced support for this in BC or am I going to have to write a viewer plugin that understands my file structure? I have some control over the format of the files, but the general structure is pretty much fixed.
Thanks,
Trevor