Copy joins the read and write streaming services: source and destination are both larger than Data Memory while the program owns one block. Compare reads two files through separate blocks and ignores the bytes past a short final block, which belong to neither file. Between them they exercise empty, exact-block, part-block and 84,000 byte files, and the host extracts the copy afterwards so that two native programs agreeing with each other is not the only oracle. Written by ChatGPT, as their headers record, along with the agree.sh section and the manifest entry that drive them. THIS SHOULD HAVE COME FIRST. The commit before it staged whole files rather than the hunks it meant, so its manifest already names these two programs while their source was still untracked - that commit will not build on its own. Left in place rather than rewritten, since the pair is right and only their order is wrong. NOTES.md is their review of the streaming work. The first item in it is fixed by the commit before this one; the rest are still open. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E2JrLzFvuFX9fgi1LDRjrW
31 lines
392 B
Plaintext
31 lines
392 B
Plaintext
CosmOS
|
|
> copied
|
|
finished
|
|
> the same
|
|
finished
|
|
> copied
|
|
finished
|
|
> the same
|
|
finished
|
|
> copied
|
|
finished
|
|
> the same
|
|
finished
|
|
> copied
|
|
finished
|
|
> the same
|
|
finished
|
|
> different
|
|
finished
|
|
> copy: cannot find the source
|
|
finished
|
|
> compare: cannot find the second file
|
|
finished
|
|
> copy: give me a source and destination
|
|
finished
|
|
> compare: give me two files
|
|
finished
|
|
> halted
|
|
Execution halted.
|
|
[exit 0]
|