From: rio4ruby Date: 2007-08-16T17:49:57+09:00 Subject: Re: grep a csv? On Aug 16, 1:15 am, Pe�a, Botp wrote: > From: rio4ruby [mailto:Christopher.Kleck...@gmail.com] > # require 'rio' > # rio('filename.csv').chomp.lines(/Blah[^,]*/) do |line,m| > # rio(m) + '.csv' << line + $/ > # end > > simply amazing. btw, how does rio handle big files, does it load them whole in memory? > > thanks for rio. > kind regards -botp Never. Examples that assume I have a file small enough to load into memory irritate me. :)