diff and patch disregarding line endings Dos Unix

diff -Naur --strip-trailing-cr old.txt new.txt

Allows diff or patch without regard to line endings, which otherwise make a big mess.

Categories:

Updated:

Leave a Comment