And not even on all the lines! Yes, there are indeed such odd cases! Of course, when we edit these files in text editors, we can force them to be identical when comparing. BUT! More often than not, this needs to be done in batch processing – when we are using the folder comparison tool.
And in that tool, such files will always be highlighted as different
And if we then run a batch process using a script or text editors—making the line endings uniform—and run the folder comparison again, only then
will identical files be marked as identical. BUT! This means that after the comparison, we will again need to run the batch processing—this time,
perhaps, in the opposite direction—restoring the original line endings.
This is a very long and tedious process, especially if we accidentally make a silly mistake somewhere in the script.
Therefore, I would very much like to see two things:
1) A special viewing mode that HIGHLIGHTS previously invisible line-ending characters in the file comparison tool based on content.
This way, when comparing files, we could immediately see this difference on literally any line. Because, again, there are files where
the main line-end char is in the Windows format, but on just 5 lines UNIX line endings are used.
This is because the files were written in binary format.
Then, if we had enabled this viewing mode in the comparison tool and seen that just 5 lines differ, we would have understood WHAT
we really need to do after the comparison: we would fix the version of the file right there, where only 5 lines have the incorrect line endings.
2) In the folder comparison tool, we would like to have a checkbox to ignore line-ending characters during batch comparison, so that in the final
list of detected differing files, only those files that actually differ in their line content are marked as such. Not just by the line-end characters.
