Show Table of Contents
4.23. diffutils
Updated diffutils packages that fix two bugs are now available for Red Hat Enterprise Linux 5.
The diffutils package contains utilities for comparing text files. These utilities include diff, cmp, diff3, and sdiff.
Bug Fixes
- BZ#484892
- Prior to this update, the "-E" option of the sdiff command was not accepted and returned the following error message:sdiff: invalid option -- E sdiff: Try `sdiff --help' for more information.This was because the "-E" option was accidentally omitted from the list of accepted options. This update fixes this bug, and the "-E" option works as expected.
- BZ#563618
- When using the cmp command's "-s" option to compare files, incorrect results were returned for special files whose metadata is not accurate, for example files in the proc file system. This update fixes this bug by always reading the content of files whose length is reported as zero bytes.
All users of diffutils are advised to upgrade to these updated packages, which fix these bugs.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.