bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#69752: bug#69752: New and improved 'diff'.


From: Robert Boyer
Subject: [bug-diffutils] bug#69752: bug#69752: New and improved 'diff'.
Date: Mon, 18 Mar 2024 09:25:13 -0500

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 <robertstephenboyer@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 <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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]