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.
| Tags | Software Development |
|---|---|
| Licenses | GPL |
Recent releases


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


Changes: The programs now support behavior conformant to POSIX 1003.1-2001. Options to diff that accepted regular expressions now conform to the grep syntax rather than the GNU Emacs syntax for regexps. An option to diff3 and sdiff allows you to use other diff utilities than the one that comes with diffutils. cmp supports BSD-style options to specify the bytes to skip at the start of the files. Support was improved for locales other than the `C' (POSIX) locale and for MS-DOS. Support for large files (>2 GB) was added. Man pages are now provided. Some of the diagnostics were reworded so that they are more consistent.
- All comments
Recent commentsDirectory 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.