|
Post by George on May 16, 2021 12:38:08 GMT -5
Robert: A DIFF one column report shows what you're after.
1. All lines in File A that are not in File B
Would appear as:
00006 ----- 1111111111 1111111111 Fred ¬¬¶ 00007 ----- 2222222222 2222222222 fred 00008 ----- 3333333333 3333333333 fred3 ' two_
2. All lines in File B that are not in File A
Would appear as:
+++++ 00006 six +++++ 00007 seven[eight] +++++ 00008 eight(nine)
3. All lines that are in common in both files Would appear as:
00001 00001 One-two 00002 00002 TWO/THREE/FOUR 00003 00003 THREE,FOUR,FIVE,SIX
But changes in lines are shown as an insert/delete pair
00020 ----- 01 A A DEF X Aaa111aaaAaa111aaaaaa111@aa abc +++++ 00015 01 A A DEF X Aaa111aaaAaa111aaaaaa111@aa abc q
|
|
|
Post by George on May 16, 2021 13:29:59 GMT -5
Robert: Not clear here.
Given two files.
AAA AAA BBB BBB CCC CCCABC DDD DDD EEE EEE
Given the above, 1column DIFF would label CCC as missing from file B, and CCCABC as missing from file A
Is that not what you're after? Seems to me that it is.
George
|
|
|
Post by George on May 16, 2021 15:30:05 GMT -5
insert code here Robert: I cut/pasted your data.
What's wrong with this?
***** SPFLite DIFF Report ***** FileA: - 2021-05-16 16:27 - E:\GDrive\Test Data\Robert1.txt FileB: - 2021-05-16 16:27 - E:\GDrive\Test Data\Robert2.txt Options - Match criteria = 1 lines FileA FileB ***************************************** Text Data ***************************************** Number of mis-matches: 1
00001 ----- 0020 00A2 // SPACE -> CENT SIGN LINE 002 00002 ----- 0020 00A4 // SPACE -> CURRENCY SIGN LINE 004 00003 ----- 0020 00A6 // SPACE -> BROKEN BAR LINE 006 +++++ 00001 0020 00A1 // SPACE -> INVERTED EXCLAMATION MARK LINE 001 +++++ 00002 0020 00A3 // SPACE -> POUND SIGN LINE 003 +++++ 00003 0020 00A5 // SPACE -> YEN SIGN LINE 005 00004 00004 0020 00A7 // SPACE -> SECTION SIGN LINE 007 00005 00005 0020 00A8 // SPACE -> DIAERESIS LINE 008 00006 00006 0020 00A9 // SPACE -> COPYRIGHT SIGN LINE 009
|
|
|
Post by George on May 17, 2021 9:59:31 GMT -5
Robert: Yes, the minimum match count makes all the difference. It depends on the type of data being compared, sometimes 1 is best, I find for source compares larger is better, it sort of reports in blocks rather than lines and I find that makes it easier to 'see' just what has changed.
George
|
|