I\'m working on a Mac, with some fairly old files. Different files were created by different programs, so some of them end with \\r (Mac) and some with \\n (Unix). I want to
I used the following quick fix, which has drawbacks (see below):
1: Do a diff and list only the filenames
diff -r -q dir1/ dir2/
2: Open and save every listed file with the editor that was used, this will change the line-endings.
3: Do a regular diff
Drawbacks include: