Unified diff
From Just Solve the File Format Problem
Unified diff (or diff unified format, unified context diff, unidiff) is a diff format commonly used for patch files.
Contents |
Identification
Unlike other diff formats, Unified diff has lines that begin with "@@".
Specifications
- Unified Diff Format - Ad-hoc specification by Guido van Rossum
- GNU Diffutilis manual: Detailed Description of Unified Format
Software
- GNU Diffutils:
diff
(with-u
option),patch
Sample files
Links
- Wikipedia:Diff utility has a section on Unified diff