From: Xavier Noria Date: 2008-04-27T20:03:16+09:00 Subject: Re: Transpose a large file(>2GB) On Apr 27, 2008, at 12:59 , Xavier Noria wrote: > On Apr 27, 2008, at 12:32 , Ams Lo wrote: > >> What is the fast and ruby way to transpose a large file(>2GB)?? >> >> I can't read the whole file into memory due to the file sizes.. > > Interesting. > > If the file is > > 12 > 3 > 456 > > You want > > 134 > 2 5 > 6 Sorry, I don't know why Mail.app deletes a single leading whitespace when there's one, last line should be space space six -- fxn