Menu

#568 diffutils: option -B not working on Windows 10

DiffUtils
open
nobody
Win10 (1)
2
2016-12-27
2016-12-27
J-F Thuong
No

When comparing 2 files with one or several additional empty line(s) in one of the file, these differences are not ignored by option -B like they should when diff 2.8.7-1 is run on Windows 10.

This problem does not appear on Windows XP SP3, Windows 7 SP1, or Windows 8.1. It is only noticed on Windows 10.

Moreover, the line is correctly ignored on Windows 10 when following two conditions are met:

  1. Option -b is used in conjonction of option -B
  2. The line following the extra empty line is the same between the two files

For example, the two files attached reproduce the problem in Windows 10 with option -B but do not with options -B -b

2 Attachments

Discussion

MongoDB Logo MongoDB