> Oh, for that sort of thing you can use the "cmp" command, which is part
> of diffutils.

Not so!

cmp  primes-so-far.lisp the-primes-below-10000000000.txt
cmp: primes-so-far.lisp: Cannot allocate memory

Bob


On Tue, Mar 12, 2024 at 3:14 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
On 3/12/24 09:06, Robert Boyer wrote:
> Here is a better version of diff, better only in the sense that it works on
> all files.

Oh, for that sort of thing you can use the "cmp" command, which is part
of diffutils. It doesn't need to read both files into RAM, so it is more
likely to work for your situation.