Projects / diffutils


Diffutils contains the GNU diff, diff3, sdiff, and cmp utilities. Their features are a superset of the Unix features and they are significantly faster. Cmp has been moved into this package from the GNU textutils package. These programs are usually used for creating patch files.


Recent releases

  •  03 Apr 2013 12:57

    Release Notes: A new option "--ignore-trailing-space" ("-Z") was added to diff and sdiff. The options "--new-file" ("-N") and "--unidirectional-new-file" now allow comparisons to "-". The option "--ignore-file-name-case" now applies at the top level as well. File names with special characters are now encoded as double-quoted C string literals in the diff header.

    •  12 Aug 2011 09:58

      Release Notes: "diff" no longer reports spurious differences merely because two entries in the same directory have names that compare equal in the current locale, or compare equal because "--ignore-file-name-case" was given.

      •  05 May 2010 13:02

        Release Notes: Lack of a newline at the end of file reporting was fixed. When printing preceding "function" lines for a hunk, lines are trimmed in order to avoid truncating the function name. Binary file differences are once again denoted with the word "binary" for clarity.

        •  12 Feb 2010 22:04

          Release Notes: A new --suppress-blank-empty diff option was added. Support for `diff -NUM' was reintroduced. The sdiff now understands '1' and '2' as synonyms for 'l' and 'r'. There is a change in behavior: sdiff and diff3 now invoke diff, not $(bindir)/diff. gnulib support was updated.

          •  10 Apr 2002 15:27

            Release Notes: Problems in the build system and some other bugs were fixed.

            Recent comments

            21 Jul 2001 06:28 tbehling

            Directory Comparison!
            I just accidentally realized that diff will actually compare entire directory structures, and print the diffs between all files in a neat report! I was originally thinking of writing a directory-recursion script in Perl to do this very thing. I was rather blown away with both the clarity and usefulness of the report.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.