Please ignore my last message. I must have been having problems I do not understand.
> time cmp primes-so-far.lisp the-primes-below-10000000000.txt cmp: EOF on primes-so-far.lisp after byte 373882880, line 38039843 real 5m15.340s user 0m0.705s sys 0m0.765s On Mon, Mar 18, 2024 at 9:11 AM Robert Boyer <robertstephenbo...@gmail.com> wrote: > > 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 <egg...@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. >> >