From: Trans Date: 2009-08-24T05:48:18+09:00 Subject: Re: 1.8.7 String#lines keeps new-line chars (say it ain't so in 1.9) On Aug 23, 3:32 am, Brian Candler wrote: > Perhaps most importantly of all, if the newlines were stripped, there > would be loss of data and it would be impossible to reconstruct the > original file exactly from the members of the lines array (e.g. > lines.join), as your example shows nicely. How is there loss of data, when you know what was removed? Just join ("\n").