GNU diffutils

From EDM2
Jump to: navigation, search
GNU diffutils
NA.png
Name GNU Diffutils
Version 3.7 (2019)
Vendor Free Software Foundation
Author
Jim Meyering (maintainer)
Licence GNU GPL v3
WWW https://www.gnu.org/software/diffutils/

The GNU Diffutils package contains a number of small utilities that aid in finding differences between source code or text files and merging two files together. Included is the diff command that shows differences between two files, it is a clone of the classic UNIX diff program and like it it outputs differences between files line by line in any of several formats including the "diff file format".

The cmp command shows the offsets and line numbers where two files differ and can also be used to show all the characters that differ between the two files. The diff3 command shows differences among three files and the sdiff command allows you to merge two files interactively.

Versions

  • 2.7.1
  • 2.8 (2002-04-06) - Jun Sawataishi (OS/2 port requires EMX runtime 0.9d or later)
  • 3.3 (2013-03-24)
  • 3.5 (2016) - kLIBC port - 2017-01-23
  • 3.7 (2018-12-31)
You may want to download other tools to read the UNIX style documentation or to format the output of the diffutils but they are not absolutely necessary, consult the program documentation.
Known issues

Note that GNU diff and the other tools in the package only works correctly on ASCII text files, in case of a binary file it only reports that there is a difference and on text files with character sets other than US-ASCII the results are unpredictable and differ between different OS/2 ports of the tool and versions between operating systems.

Links