Trying to compare two text files and need help #1365
Replies: 5 comments
-
Ignore text differences from column 17 by setting and applying the IgnoreColumns prediffer plugin as shown below. Use the Diff Context menu to show only the matching lines, select all the text on the right, and copy it into the Third text file. |
Beta Was this translation helpful? Give feedback.
-
This didn't work for me, I also only have "Ignore Columns" instead of "Ignore Columns(IgnoreColumns)" in Prediffer under Plugins. |
Beta Was this translation helpful? Give feedback.
-
"Ignore Columns" selection is fine. |
Beta Was this translation helpful? Give feedback.
-
Lines with a light yellow background color indicate that the IgnoreColumns plugin ignores differences after the 17th character and that the first 16 characters identical. If the first 16 characters are different but the background color is light yellow, please review the settings of the IgnoreColumns plugin. |
Beta Was this translation helpful? Give feedback.
-
I've two text files and the important bit is the first 16 characters in every line. I want to write every line in the second text file to a third text file but only when the first 16 characters of the lines are identical in the first and second text files. Can someone please tell me how to do this?
First text file
1123HF5DE3F15311 ?test*path\to1\file\test.exe
1123HF5DE3F1531A ?test*p2ath\to\file\test.exe
Second text file
1123HF5DE3F1531A ?test*drive\\te4st\random\file\test.exe
1123HF5DE3F14311 ?test*drive\\test\2random\file2\test.exe
Third text file
1123HF5DE3F1531A ?test*drive\\te4st\random\file\test.exe
Beta Was this translation helpful? Give feedback.
All reactions