Numdiff compares putatively similar files line by line and field by field, ignoring small numeric differences or/and different numeric formats.
Numdiff is a program with the capability to appropriately compare files containing numerical fields (and not only). By default, Numdiff assumes the fields are separated by white spaces (blanks, horizontal tabulations and newlines), but the user can also specify its list of separators. When you compare a couple of such files, what you want to obtain usually is a list of the numerical fields in the second file which numerically differ from the corresponding fields in the first file. Well known tools like diff, cmp or wdiff can not be used to this purpose: they can not recognize whether a difference between two numerical fields is only due to the notation or is actually a difference of numerical values. Moreover, you could desire to neglect all small numerical differences too. However, programs like diff and wdiff can not be used to ignore small numerical differences, since they do not even know what a numerical difference is.
5 September 2006
Leaders and contributors
Resources and communication
|Required to build||make|
|Required to build||ANSI C compliant compiler|
|Weak prerequisite||GNU Texinfo|
About this entry
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.