Skip to content

Software: unix2dos - CRLF ConversionΒΆ

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)
    unix2dos my-file-from-unix
    
  • convert file generated on from dos to unix
    dos2unix my-file-from-dos