Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Working with large files

From: tim-johnsons::web::com at: 12-Aug-2008 9:59

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