From: Florian Gross Date: 2005-01-16T20:36:08+09:00 Subject: Re: End of line style Alexey Verkhovsky wrote: > If I am working with some Ruby application that has to work from the > same ZIP file on Windows, Linux and OSX, and has to have shebang > comments working out of box on the atter two, what is the right > end-of-line style for such a scenario? AFAIK on Windows the shebang is ignored completely unless you are running in an CGI environment. Ruby itself does however extract the options from the shebang, I think it does not care about \n vs. \r\n. Also in the next version of Ruby trailing carriage returns on ARGV will AFAIK be ignored. I think right now it is probably safest to use \n. I'd also convert newlines to \r\n for the Windows release, though.