|
From: Robert W. F. <mic...@co...> - 2004-01-08 16:07:51
|
I can see that using sed would be quite simple. However, I don't want to wait for a 30 GB file to be re-written. Looking at the man page, I see there is an "--in-place" option for sed. I guess I better delve into sed some more. I wonder if I can tell it to stop after the first "\n" to avoid scanning the whole file to change the first line. Or maybe I can just hit ctrl-c? Hans van der Made wrote: > > >>Anybody know of a good simple binary file editor for Linux that can >>handle 30 GB files without a problem? If so, I can simply edit the >>YUV4MPEG header to suit me. By the way, the yuv4mpeg man page is quite >>good. >> >> > >I've done this with sed s/[string]/[new string]/g but if you want a real >editor, vim might handle these large files correctly. > >Regards, > >Hans > > |