mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 17:02:09 +02:00

* diff3: update path placeholders * diff3: update path placeholder in translations * diff3: update placeholder in Chinese translation * Apply suggestions from code review Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
12 lines
370 B
Markdown
12 lines
370 B
Markdown
# diff3
|
|
|
|
> 逐行比较三个文件。
|
|
> 更多信息:<https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff3.html>.
|
|
|
|
- 比较文件:
|
|
|
|
`diff3 {{路径/到/文件1}} {{路径/到/文件2}} {{路径/到/文件3}}`
|
|
|
|
- 展示所有的变化,同时列出冲突:
|
|
|
|
`diff3 --show-all {{路径/到/文件1}} {{路径/到/文件2}} {{路径/到/文件3}}`
|