Comparing structured textual data #1551
Unanswered
Gitoffthelawn
asked this question in
Q&A
Replies: 1 comment
-
Unfortunately, WinMerge does not allow such grouping. One idea is to combine "Alpha: " to "Eta: " into one line. "c:\Program Files\WinMerge\WinMergeU.exe" file1.txt file2.txt /unpacker "Replace -e (\d+)\r\n '$1, '|Replace = ''" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have multiple text files, each with contents using the structure:
The rows of equal signs and the labels to the left of the colons are consistent.
The numbers are all that will vary between files.
Within any group (surrounded by a row of equal signs), if one of the values changes from one file to another, the entire group is considered different.
Each file has 500 groups.
Overall, WinMerge works very well to perform such comparisons.
The only snag is that, between 2 files, when one number is different within a group, often all the other numbers within the group are also different between the files. Thus, when using WinMerge to review changes, I need to click the "Next Difference" button (or keyboard shortcut) 7 times just to get through a single group.
Is there a way to get WinMerge to recognize all text between 2 rows of equal signs as a single item, so it can be recognized as a single entity?
Ideally, I would like to be able to specify this functionality via the CLI. If that's not possible, I could set up a unique file extension just for files of this structure.
Beta Was this translation helpful? Give feedback.
All reactions