Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 20:32:09 -0700
From:      Rob <europax@home.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        "hackers@FreeBSD.ORG" <hackers@FreeBSD.ORG>
Subject:   Re: running diff on huge files
Message-ID:  <3B871C39.1CCC2030@home.com>
References:  <Pine.BSF.4.21.0108241951590.60806-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> 
> 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.
> :-)

It worked out OK.  But I'll have to take an extra look at the file
boundaries in the future.   Rob.

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?3B871C39.1CCC2030>