There are document formats like HTML or RTF that are free in setting line breaks in their internal file representations. Document processors for these formats sometimes do not normalize their output. That means that the same contents may lead to different document source files, which is a tough case for tools like diff. These programs sometimes do not even produce stable file versions (i.e. do not write the same file versions if the same document version is saved multiple times).
The line breaks are set in a manner that RTF keywords
\footnote, etc.) are isolated on
lines of their own (to isolate formatting changes) and line-wraps are
applied at column 72 to 75 (making diff output more
readable), without breaking control symbols.
Control symbols (
\-, etc.) are embedded in the text.
For more details, see the source code.
The output files will have the last character of the file name replaced by 'n' (or 'm' if they end on 'n').
The usage message can be displayed by:
Note: The program is free software; you can redistribute it and/or modify it. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
binaries: rtfn-i386-win32.exe rtfn-i386-win16.exe
Keywords: RTF normalization, RTF document normalization, rich text format normalization, RTF versioning, RTF document versioning, RTF versions, RTF line breaks, RTF newlines, normalize, source code