From: Alexey Verkhovsky Date: 2005-01-16T23:21:01+09:00 Subject: Re: End of line style Florian Gross wrote: > Alexey Verkhovsky wrote: > >>> I think right now it is probably safest to use \n. I'd also convert >>> newlines to \r\n for the Windows release, though. >> >> That would mean a separate release for Windows, which is precisely >> the thing that I want to avoid. >> >> A file with \n end-of-lines won't look good in notepad. I don't care >> about this. Do you know any other particular reason for having \r\n >> end-of-lines for Windows (as in "foo will not work otherwise"), or is >> it purely "just because it's Windows-style"? > > > It's because it makes it easier for Windows developers to submit > patches back to you. Just a small point, but if you're going to > automate the whole release process anyway it ought not to be that much > trouble to have newlines of non-binary files converted to \r\n in the > Windows package. (Most software uses .zip archives instead of .tgz for > Windows, anyway.) I don't know about that - never had any problem submitting patches from Windows myself. I build them in one of two ways. Either from Cygwin, or from Eclipse. Both deal with EOL styles transparently. Have you seen problems of this sort? Another question: actually, this application (Instiki) is packaged by Rake::PackageTask. Perhaps Rake itself should be a bit smarter about this. -- Best regards, Alexey Verkhovsky Ruby Forum: http://ruby-forum.org (moderator) RForum: http://rforum.andreas-s.net (co-author) Instiki: http://instiki.org (maintainer)