From: shaobo.li@... Date: 2005-07-07T10:25:49+09:00 Subject: file contents was truncated Hi, 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 } thanks for your help