You can use the 'diff' command to show differences between two files, or each corresponding file in two directories.
You can use the 'cmp' command to show the offsets and line numbers where two files differ. 'cmp' can also show all the characters that differ between the two files, side by side.
You can use the set of differences produced by 'diff' to distribute updates to text files (such as program source code) to other people. This method is especially useful when the differences are small compared to the complete files.
You can use the 'diff3' command to show differences among three files. When two people have made independent changes to a common original, 'diff3' can report the differences between the original and the two changed versions, and can produce a merged file that contains both persons' changes together with warnings about conflicts.
You can use the 'sdiff' command to merge two files interactively.
... part of T2, get it here
URL: https://www.gnu.org/software/diffutils/diffutils.html
Author: The GNU Project <gnu [at] gnu [dot] org>
Maintainer: Rene Rebe <rene [at] t2-project [dot] org>
License: GPL
Status: Stable
Version: 3.10
Remark: Does cross compile (as setup and patched in T2).
Remark: Dietlibc compatible.
Download: http://ftp.gnu.org/pub/gnu/diffutils/ diffutils-3.10.tar.xz
T2 source: compile.patch.dietlibc
T2 source: diffutils.cache
T2 source: diffutils.desc
Build time (on reference hardware): 8% (relative to binutils)2
Installed size (on reference hardware): 1.74 MB, 52 files
Dependencies (build time detected): 00-dirtree bash binutils coreutils findutils gawk grep gzip linux-header make sed tar xz
Installed files (on reference hardware):
[show]
1) This page was automatically generated from the T2 package source. Corrections, such as dead links, URL changes or typos need to be performed directly on that source.
2) Compatible with Linux From Scratch's "Standard Build Unit" (SBU).