FILECOMPARE Does Not Count Blank Lines (51078)



The information in this article applies to:
    Microsoft MS-DOS operating system 4.0
    Microsoft MS-DOS operating system 4.01
    Microsoft MS-DOS operating system 5.0
    Microsoft MS-DOS operating system 5.0a

This article was previously published under Q51078

SUMMARY

The following FC (FILECOMPARE) command should compare file1 to file2, ignoring white space and adding line numbers to the differences report:
   fc /w/n file1 file2
Blank lines should be counted when computing the reported line numbers; however, they are not counted.

Microsoft has confirmed this to be a problem in MS-DOS versions 4.x and 5.x. This problem was corrected in later versions of MS-DOS.

Modification Type: Major Last Reviewed: 10/20/2003
Keywords: KB51078