From: Assaph Mehr Date: 2005-07-07T10:50:46+09:00 Subject: Re: file contents was truncated shaobo.li@gmail.com wrote: > i've printed a 3102 lines text file,but why the top (about 893 lines) > contents was truncated ? only the left lines contents was printed > out.here is my code > > io = open("c:/test.txt", "r+") > io.each_line {|line| > puts line > } Silly, really, but what's the buffer size of your command prompt window?