[svlug] edit a 1GB file

J C Lawrence claw at kanga.nu
Mon Mar 31 08:38:36 PST 2003


On Sun, 30 Mar 2003 22:28:44 -0800 
Matt Billenstein <matt at vazor.com> wrote:

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

Ahh, then `sed` is your friend.

-- 
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