Re: Working with large files
Tim Johnson (tim)
12-Aug-2008/13:59:11-4:00
#44199
<Back Thread Next>
<Back Index Next>
On Tuesday 12 August 2008, CarleySimon wrote:
> There is also a /with refinement to specify additional line terminators
>
> open/direct/lines/with %file ","
>
> It seems that works on both the "," and newline.
> Using Tim`s suggestion and checking the last char for a newline and doing a
> remove, second pick and a rejoin should fix that.
> Jon
And of course, results and methods could vary with the OS and the available
memory. open/direct/lines works for me on files up to 1GB on linux with 3GB
of RAM and 3GB of swap space.
tj
<Back Thread Next>
<Back Index Next>REBOL.com