ColorDiff is a wrapper for diff. It produces the same output as diff, but with coloured syntax highlighting at the commandline to improve readability. The output is similar to how a diff-generated patch might appear in Vim or Emacs with the appropriate syntax highlighting options enabled. The colour schemes can be read from a central configuration file or from a local user ~/.colordiffrc file.
|Tags||Software Development Text Processing Filters Utilities|
Release Notes: Improved efficiency for diff-type detection, and the addition of a new colour area called 'cvsstuff' that allows an additional colour definition for this type of output. 'long colordiff colour options' has been removed, since it appears to conflict with the use of additional diff command line options. This change also fixes the bug, which means that colordiff returns the 'diff' return value correctly. Inclusion of a separate 'cdiff' shell script for colouring compressed and URL-based diffs.
Release Notes: Support for "dark" colors was added. Support was added for long command-line options to change colors on the fly. Inconsistent handling of arguments in the input stream was fixed.
Release Notes: More tolerance of whitespace in the config file. More elegant handling of directories other than '/etc' being the location for the central colordiffrc and preserving a backup of an existing /etc/colordiffrc at installation. Extra documentation for 'less' options.
Release Notes: Diff identification is now more reliable. Diffs generated by 'subversion' are now recognised, in addition to plain diffs and CVS diffs. The colour 'black' can now also be specified in ~/.colordiffrc for use by those with light-coloured backgrounds.
Release Notes: Addition of support for 'context' diffs, and a fix for a 'colour over-run' problem when shell prompt has no colours defined.