Skip navigation

STANFORD UNIVERSITY

INFORMATION TECHNOLOGY SERVICES

diffutils 2.8.1

Summary

Description: Display line-by-line differences in text files
Source: http://www.gnu.org/software/diffutils/

Support

This package is available for all platforms. This package is unsupported and provided on an as-is basis.

Description

The diff command shows differences between two files, or each corresponding file in two directories. diff outputs differences between files line by line in any of several formats, selectable by command line options. This set of differences is often called a diff or patch. For files that are identical, diff normally produces no output; for binary (non-text) files, diff normally reports only that they are different.

The cmp command shows the offsets and line numbers where two files differ. cmp can also show all the characters that differ between the two files, side by side.

The diff3 command to shows differences among three files. When two people have made independent changes to a common original, diff3 can report the differences between the original and the two changed versions, and can produce a merged file that contains both persons' changes together with warnings about conflicts. The sdiff command can merge two files interactively.

Changes

2.8.1 2002-07-10

Documentation and bug fixes.

Files

   Programs: cmp diff diff3 sdiff
    Locales: cs da de en_GB eo es fr gl he id ja pl ru sv tr zh_TW
  Man Pages: cmp(1) diff(1) diff3(1) sdiff(1)
 Info Pages: diff

Accuracy

This information reflects the version of this package that is installed in Stanford's site-wide pubsw software tree. Newer versions of the package may be available from the package source. The contents of this page, including the source URL if applicable, are generally only reviewed when the package is upgraded and therefore may not accurately reflect the current version of the package.

Last modified Tuesday, 24-Feb-2009 01:39:58 PM

Stanford University Home Page