Convert line breaks from Unix format (Line feed, LF, \n) to DOS format (carriage return + Line feed, i.e., CR+LF, \r\n) and vice versa, see the unix2dos and newline wikipedia entries for longer discussions.
How to use
convert file generated on unix systems (e.g., Linux and MacOSX) to dos (MS Windows)