[svlug] edit a 1GB file

Matt Billenstein matt at vazor.com
Sun Mar 30 22:28:44 PST 2003

Yup, size of the file may change.  It's a text file and I search for a line
matching some pattern and replace it with a different line.  I really only
do this once in a blue moon.  I was getting annoyed with Vim taking 10
minutes to load the file, a few minutes to find the line, and then like 5
minutes or so to save again.



Matt Billenstein
matt at vazor.com

----- Original Message -----
From: "J C Lawrence" <claw at kanga.nu>
To: "Matt Billenstein" <matt at vazor.com>
Cc: <svlug at lists.svlug.org>
Sent: Sunday, March 30, 2003 9:52 PM
Subject: Re: [svlug] edit a 1GB file

> On Sun, 30 Mar 2003 16:36:35 -0800
> Matt Billenstein <matt at vazor.com> wrote:
> > If I want to edit a really big text file, what is the best way to do
> > it?
> That rather depends on the types of edits you want to perform.  Most
> significantly, will they change the size of the file?
> --
> J C Lawrence
> ---------(*)                Satan, oscillate my metallic sonatas.
> claw at kanga.nu               He lived as a devil, eh?
> http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.

More information about the svlug mailing list