From: Todd Burch Date: 2008-01-16T07:35:56+09:00 Subject: Re: Here Document syntax is stringent - trailing blank Karl von Laudermann wrote: > Ok, one of us is confused, and I think it's you. :-) Well, I certainly am confused! > > So, in summary: > - If you're transferring a text file *to* a PC, you want to then > ensure that each line ends with \r\n. I'm confused because everything you state is 100% correct, yet Notepad still collapses text file on first edit. I did set my "save as" format in TextWrangler as Windows format. TextWrangler is saving files with \r\n. Notepad still collapses files on first edit. 'Splain me this! > - And if you're doing a conversion that strips the \r from each \r\n > pair, you want to delete the \r, not replace it with a blank. I could do that, but that would be too easy, right? !! -- Posted via http://www.ruby-forum.com/.