Projects/Devel/diffconvert

diffconvert

diffconvert contains four programs for converting diffs. Diff files are created by GNU diff and accepted as input by GNU patch.
The two most common forms are "context diffs" and "unidiffs".

  • ud2cd converts a unidiff (input) to a context diff (output).
  • cd2ud converts a context diff (input) to a unidiff (output).
  • cdiffreverse reverses a context diff.
  • udiffreverse reverses a unidiff.

Installation

On a FreeBSD system;
Using the ports system:
cd /usr/ports/devel/diffconvert make install clean
Using the pkg system:
pkg install devel/diffconvert