2009/7/6 Brian Candler <b.candler / pobox.com>:
> Robert Klemme wrote:
>>> Yep, already done that. Where this 'holes' business comes in, is that t=
o
>>> stay below the 4GB limit, the data has to be processed and the file
>>> written out in chunks. Each chunk may have a unique line length. So, we
>>> find the longest line of the chunk, and write records at that interval
>>> using seek. Each record terminates with a line feed.
>>
>> Errr, I am not sure I fully understand your approach. =A0What you write
>> sounds like if you end up with a file containing multiple sections
>> which each have lines with identical length.
>
> My reading of the description was that each "chunk" was a separate file,
> and so all the records within that file had the same line length, but I
> could be wrong.

But he writes "the file" which makes me think that there is only one
output file.  Also, the 4GB limit seems to indicate that we are
talking about a single large file.

Greg, help!

;-)

Cheers

robert


--=20
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/