The CoCo wiki project was started on October 29, 2004. --OS-9 Al
CMP
From CoCopedia
CMP
CMP compares 2 files at the byte level. It will display the file offset and the value of the byte from every file when a difference is find.
Syntax: CMP <path1> <path2>
Example:
CMP /do/CMDS/xmode /d1/CMDS/xmode
If the files are identical, it returns
Differences None ... Bytes compared: 00000439 Bytes different: 00000000
If the files are different, the result will be something like
Differences byte #1 #2 ======== == == 00000007 80 81 00000008 66 67 0000004C 70 58 Bytes compared: 00000439 Bytes different: 00000003
