Search found 4 matches
- 12 Oct 2016 20:04
- Forum: DOS Batch Forum
- Topic: compare two files line by line
- Replies: 6
- Views: 7375
Re: compare two files line by line
please forgive me - i lied to you (see answer 2). because of my own stupidity i couldn't realize at first that hex (goal is to compare hex code) could be letters too. so was the previous success based only 1 test with few lines. anyway, after trying this and that, script starts giving false results,...
- 11 Oct 2016 04:45
- Forum: DOS Batch Forum
- Topic: compare two files line by line
- Replies: 6
- Views: 7375
Re: compare two files line by line
thank you! it works exactly as needed
- 11 Oct 2016 03:51
- Forum: DOS Batch Forum
- Topic: compare two files line by line
- Replies: 6
- Views: 7375
Re: compare two files line by line
1) no, both files have always same number of lines
2) yes, always numbers
2) yes, always numbers
- 10 Oct 2016 20:10
- Forum: DOS Batch Forum
- Topic: compare two files line by line
- Replies: 6
- Views: 7375
compare two files line by line
i would like to have file1 compared with file2, line by line, and then output results to file3, so the matching lines remain same but non-matching are replaced with -- for example.
Code: Select all
file1 file2 file3
01 01 01
02 02 02
03 04 --
04 04 04
00 05 --