Dif produces a difference file which lists the line by line differences between any two text files. These differences can be fed to ssed (a stream type editor), along with the original text file, to remotely reproduce the other (new) file.
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME ---------- ----------- ------- ------- ------ ---------- ------------ ------------- [generic] 6266 11156 56.2% -lh5- a991 Jan 12 1987 DifSsed/dif [generic] 2132 5001 42.6% -lh5- 1a1d Jan 12 1987 DifSsed/difssed.doc [generic] 4847 8580 56.5% -lh5- 85d1 Jan 12 1987 DifSsed/ssed ---------- ----------- ------- ------- ------ ---------- ------------ ------------- Total 3 files 13245 24737 53.5% Jan 12 1987