From: Tobias Reif Date: 2002-05-22T22:52:25+09:00 Subject: -e oneliners with File.open 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' (the string to write was different, but the above is enough to reproduce the error) but got -e:1: parse error This file runs: ----- File.open("delete.txt", "w") do |file| # 100 000 lines with 1 000 xs =~ 100 MB file.write((("x"*1000)+"\n")*100000) end ----- How to do it with -e in the commandline? Tobi -- http://www.pinkjuice.com/