GNU Info

Info Node: (diff.info)Unified Format

(diff.info)Unified Format


Next: Sections Prev: Context Format Up: Context
Enter node , (file) or (file)node

Unified Format
--------------

   The unified output format is a variation on the context format that
is more compact because it omits redundant context lines.  To select
this output format, use the `-U LINES', `--unified[=LINES]', or `-u'
option.  The argument LINES is the number of lines of context to show.
When it is not given, it defaults to three.

   At present, only GNU `diff' can produce this format and only GNU
`patch' can automatically apply diffs in this format.  For proper
operation, `patch' typically needs at least two lines of context.

Detailed Unified
A detailed description of unified format.
Example Unified
Sample output in unified format.

automatically generated by info2www version 1.2.2.9