From: Li Chen Date: 2007-07-31T03:50:24+09:00 Subject: size change after file writing Hi all, I write a small script to read old files and write to new files. Either reading line by line or whole file at once then I ask Ruby to write to new files. The new file is much smaller than the old one. I also find that the new file losses many information. How to explain this? Thanks, Li #################script-1 read file line by line and write to a new file path='C:\\Allo12-Y2' file_names=[] Dir.open(path).each do|f| file_names<