>
> I need help.
>
> We are trying to view a 2+Gig text file to work through some of the text
> structure. Any recommendations for a good editor that will
> handle files of
> this size? We don't necessarily need to open the file all at
> once, even if
> we could scroll and view only certain sections of the file. We
> are working
> on parsing routines, and need to verify the file structure throughout.
>
> Thanks, Kelly Britt
A while back I wrote a tag called CFX_ReadLine to parse through server logs.
Never tried it on a 2gb+ file :) but it should work. (Hmm. Might have to
tweak it to handle anything beyond signed 32-bit file positions though, ie,
greater than 2gb.)
You give it a position into a file and it reads back to you everything from
that position to the next newline, and returns the starting position of the
next line. Just feed that back into it to run through the entire file one
line at a time.
--min
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]