From: Jim Freeze Date: 2002-05-22T23:07:46+09:00 Subject: Re: -e oneliners with File.open On Wed, May 22, 2002 at 10:52:25PM +0900, Tobias Reif wrote: > Hi, > > I wanted to see how well Vim handles large files, so I entered something > like > ruby -e 'File.open("foo.txt","w") do |f|; f.write 6; end' cat foo.txt 6 Hmmm, works for me. What version of ruby are you running? ruby -v ruby 1.6.6 (2001-12-26) [sparc-solaris2.8] -- Jim Freeze If only I had something clever to say for my comment... ~'rc-solaris2.8]