Files with comments
Posted: Wed Aug 11, 2004 7:11 am
I have the following files:
File 1:
// My comment 1
0011820940 6c4dad83
0011820949 1283c57f
0011820959 ea0f9dff
0011820968 2afad831
// My comment 2
0011820977 283c57fe
0011820986 a0f9dff2
File 2:
6c4dad83
1283c57f
ea1f9dff
2afad831
283c57fe
a0f9dff2
Each line of the 2-nd file is indented by 11 spaces, which exactly matches the size of the 1-st field (with the following space) of each non-comment line of the 1-st file (seems the forum engine eats these spaces, and I don't know how to prevent this).
I'd like to see differences only in the line that contains field, which begins from "ea1" (2-nd file) (or "ea0" in the 2-nd field of the 1-st file accordingly).
I use "Ignore characters before column 12" option, and this helps to ignore 1-st field in the 1-st file. In addition I tried to use option "Ignore lines matching regular expression //.*", but it does not work in my case: EDP still shows comment lines as different.
How I see only one line as different? It is line 4 in the 1-st file vs. line 3 in the 2-nd file.
Thank you.
File 1:
// My comment 1
0011820940 6c4dad83
0011820949 1283c57f
0011820959 ea0f9dff
0011820968 2afad831
// My comment 2
0011820977 283c57fe
0011820986 a0f9dff2
File 2:
6c4dad83
1283c57f
ea1f9dff
2afad831
283c57fe
a0f9dff2
Each line of the 2-nd file is indented by 11 spaces, which exactly matches the size of the 1-st field (with the following space) of each non-comment line of the 1-st file (seems the forum engine eats these spaces, and I don't know how to prevent this).
I'd like to see differences only in the line that contains field, which begins from "ea1" (2-nd file) (or "ea0" in the 2-nd field of the 1-st file accordingly).
I use "Ignore characters before column 12" option, and this helps to ignore 1-st field in the 1-st file. In addition I tried to use option "Ignore lines matching regular expression //.*", but it does not work in my case: EDP still shows comment lines as different.
How I see only one line as different? It is line 4 in the 1-st file vs. line 3 in the 2-nd file.
Thank you.