Unified diff
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |subcat=Archiving |extensions={{ext|patch}}, {{ext|diff}} |released=1991 }} '''Unified diff''' (or '''diff unified format''', '''unified context diff''', '''unidi...") |
Revision as of 01:16, 24 May 2014
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 has a section on Unified diff