Next: , Up: Compatibility   [Contents]


5.1 Differences with diff

GNU diff is a program which matured for a long while, and for which algorithms are based on computer science literature. It is a fast program. By comparison, mdiff is not more than a program kludged up rapidly to satisfy a few precise needs. It only tries not being inordinately slow.

Most diff options are accepted by mdiff under the same short and long option names, and is able to produce resembling output, for making mdiff easier to learn and less surprising to users. Yet, some differences exist in option decoding and output format. Since diff and mdiff use different matching algorithms, it is very likely that the differences will not be exactly analyzed identically.


Next: , Up: Compatibility   [Contents]