Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm getting differences like this:

    a.txt
        Betty Davis
        Cathy Edwards
    b.txt
        Betty Davis
        Cathy Edwards

There are only two lines listed in the diff (which doesn't make sense). No CR/LF/Newline funnies. The difference just moves down if I delete lines. Same problem on Win7 and Win2K. The difference seems to go away if I remove all empty lines from the files. The empty lines are correctly terminiated too. Using /C /W (ignore case, ignore whitespace)

Has anyone seen this before? What am I doing wrong? How can I fix it?

There are real diffs in the file -missing, extra, or re-spelled names- but the files are byte-for-byte identical at the listed diff.

share|improve this question
    
What command are you running to generate the diffs? –  dunxd Dec 12 '12 at 11:59
    
@dunxd Per the title fc.exe –  jscott Dec 12 '12 at 14:04
    
Are the two files byte-for-byte identical? –  David Schwartz Dec 12 '12 at 15:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.