GNU bug report logs - #69752
New and improved 'diff'.

Previous Next

Package: diffutils;

Reported by: Robert Boyer <robertstephenboyer <at> gmail.com>

Date: Tue, 12 Mar 2024 16:08:02 UTC

Severity: normal

Tags: notabug

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Boyer <robertstephenboyer <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 69752 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: bug#69752: [bug-diffutils] bug#69752: New and improved 'diff'.
Date: Mon, 18 Mar 2024 09:25:13 -0500
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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.
>>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.