Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 19:55:03 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Rob <europax@home.com>
Cc:        "hackers@FreeBSD.ORG" <hackers@FreeBSD.ORG>
Subject:   Re: running diff on huge files
Message-ID:  <Pine.BSF.4.21.0108241951590.60806-100000@InterJet.elischer.org>
In-Reply-To: <3B870709.6202C0CC@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 24 Aug 2001, Rob wrote:

> Rob wrote:
> > 
> > I am trying to run diff on two huge files (220M) and I run out of swap
> > space.  Is there another alternative?  I have a Python script that does
> > something similar, but works on huge files, but it is much slower than
> > diff.  Thanks,  Rob.
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-hackers" in the body of the message
> 
> 
> split -b 50000k   put the files into managable size.  Rob.

doesn't work for files that have diffs across the 50k boundary..
you need a streaming diff... 

Interestingly this is not impossible.. you may be able to make one
read the sources to diff.
:-)

> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108241951590.60806-100000>