tldr/pages/linux/diff3.md

13 lines
293 B
Markdown
Raw Normal View History

2018-10-18 14:47:31 +01:00
# diff3
> Compare three files line by line.
> More information: <https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff3.html>.
2018-10-18 14:47:31 +01:00
- Compare files:
`diff3 {{file1}} {{file2}} {{file3}}`
- Show all changes, outlining conflicts:
`diff3 --show-all {{file1}} {{file2}} {{file3}}`