Next: Showing Which Sections Differences Are in, Previous: Context Format, Up: Showing Differences in Their Context [Contents][Index]
2.2.2 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 --unified[=lines] (-U 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.
In the early 1990s, only GNU diff
could produce this format and only GNU patch
could automatically apply diffs in this format. For proper operation, patch
typically needs at least three lines of context.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4