In Mathematica, running on Windows, I wanted to generate a text file using UNIX newline conventions. Unfortunately, the Export / Text function does not provide an option governing line terminators -- you always get the convention of the host platform. As a workaround, if you export using String format, then the file will use Mathematica's convention, which is UNIX-style.
... until the collector arrives ...
This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)