Menu

#834 unix2dos and dos2unix are broken

MSYS
closed
nobody
out-of-date
component_package
2013-01-28
2005-09-21
No

I'm using mingw-runtime 0.3, and I find that the
unix2dos and dos2unix programs are broken.

Given a file with Unix line endings, dos2unix converts
it to have Windows line endings. This is wrong.

Given a file with Unix line endings, unix2dos mangles
it completely. Instead of giving it Windows line
endings, it replaces every LF with CR CR LF.

Clearly, the programs are not reading and writing files
in binary mode, so they are always converting to
Windows line endings, sometimes "sort of" twice.

Discussion

  • Earnie Boyd

    Earnie Boyd - 2012-10-22
    • milestone: --> Aged_issue
    • status: open --> closed-out-of-date
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-28
    • labels: mingw runtime (deprecated use WSL) --> unix2dos, dos2unix
    • status: closed-out-of-date --> closed
    • resolution: --> out-of-date
    • category: --> component_package
    • milestone: --> MSYS