Last Updated : 11 Jul, 2025
diff3command is used to compare the three files line by line. It internally uses the
diffcommand to compare. When three files are compared then the following output may come which have their own meaning:
diff3 [OPTIONS]Example:
Let us consider three files as
a.txt,
b.txtand
c.txt.
Now if diff3 command is used over these three files then following output will come:
Here, the very first line ‘
====3
’ tells that the file number 3 i.e. c.txt is different from the other two. This is visible in the output too.
Options: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