From Free Software Directory
This is the approved revision of this page; it is not the most recent. View the most recent revision.
Jump to: navigation, search

GNU Diffutils

Finds differences between and among files

A group of utilities that displays difference between and among text files. 'diff' outputs the difference between two files in any of several formats. If the files are identical, it normally produces no ouput; if they are binary (non-text) it normally reports only that they are different. 'cmp' shows the offsets and files numbers where two files differ; it can also show, side by side, all the characters that differ between the two files. 'sdiff' merges two files interactively. 'diff3' shows differences among three files. If two people have made independent changes to a common original, diff3 reports that difference between the original and the two changed versions, and can produce a merged file that contains both persons' changes along with warnings about conflicts.


User manual available in HTML format from https://www.gnu.org/s/diffutils/manual/ Printed user manual available from http://www.network-theory.co.uk/diff/manual/

Related Projects

  • Compare
  • Hashed Text Utilities
  • KDiff3
  • LibXDiff
  • Meld
  • OSSPsvs
  • Textutils
  • Fldiff
  • Gtkdiff
  • Imediff2
  • Tkdiff
  • Wdiff
  • Patch
  • Gawk
  • Grep


LicenseVerified byVerified onNotes
License:GPLv3orlaterGenium10 March 2016

Leaders and contributors

Paul Eggert Maintainer
Jim Meyering Maintainer

Resources and communication

AudienceResource typeURI
Debian (Ref)https://tracker.debian.org/pkg/diffutils
Debian (Ref) (R)https://tracker.debian.org/pkg/diff
Savannah (Ref)https://savannah.gnu.org/projects/diffutils
DeveloperVCS Repository Webviewhttp://git.sv.gnu.org/cgit/diffutils.git/
Bug TrackingE-mailmailto:bug-diffutils@gnu.org

Software prerequisites

This entry (in part or in whole) was last reviewed on 19 February 2018.


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.