Sitenotice: 11/29/2018: The wiki is back. It turns out, some anti-virus product on my web server had an issue with the latest version of PHP. My server techs have resolved this issue, and things should be working again. During the investigation, I did restore to a backup from September. There is a chance that any changes done since then were lost, but I do not recall any edits. --OS-9 Al

8/30/2016: Massive re-work is being done on the InfoBox Templates. Read that page to keep up with the plan for that, and adding better keyword tags (categories) to all the pages. --OS-9 Al (talk) 15:28, 31 August 2016 (CDT)

CMP

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to: navigation, search

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