MediaWiki:Sitenotice:
2025-12-29: I have restored the wiki to a backup from the end of November. Starting in September 2025, accesses went form the 800MB-1.2GB range per month to 26GB in September, 42GB in October, and 70GB in November with most accesses originating from China. As soon as I realized what was causing all the access problems in November, I shut it down (it had reached 36GB by then) behind a password/login screen. The database had gotten corrupted, and I tried a restore from just before the spike in access but that didn't work. Thus, end of November. I still have the other daily backups so if there were any important additions in December, let me know and maybe they can be recovered. - Allen H.

CMP: Difference between revisions

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigation Jump to search
No edit summary
 
Polluks (talk | contribs)
Category
 
Line 22: Line 22:
  Bytes compared:  00000439
  Bytes compared:  00000439
  Bytes different: 00000003
  Bytes different: 00000003
[[Category:OS-9]]

Latest revision as of 20:53, 10 September 2015

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