Could you add a toggle to make the 'Compare contents' and 'Synchronize directories' function ignore line endings of text files to detect duplicates, please?
Windows vs. Unix (CR/LF vs. LF) with the same line content should be ignored.
Make Compare tools ignore line endings
Moderators: white, Hacker, petermad, Stefan2
Re: Make Compare tools ignore line endings
I think the topic is wrong, or I missunderstand you.
How should TC know where a line ends if you want to ignore any line end.
I guess you mean different line endings should be ignored.
How should TC know where a line ends if you want to ignore any line end.
I guess you mean different line endings should be ignored.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77
QAP 11.6.3.3 x64
Re: Make Compare tools ignore line endings
Well, "Compare contents" in a way does ignore different line breaks, but it opens the "Compare contents" dialog and show 0 differencies, just as when comparing and ANSI and a Unicode file, with otherwis identical content. I can live with that.
In "Synchronize directories" you can enable the plugin compare functions (the little button to the right of "by content") and then use [=tc.Compare as text] - then ANSI files with different line breaks compare equal.
In "Synchronize directories" you can enable the plugin compare functions (the little button to the right of "by content") and then use [=tc.Compare as text] - then ANSI files with different line breaks compare equal.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar