Dos2Unix

From EDM2
Jump to: navigation, search
Dos2unix2mac.png

Dos2Unix and Unix2Dos are utilities for converting DOS style text files to and from UNIX/Mac style text files. Originally developed for SunOS in the late 1980s by John Birchfield with a later re-write by Benjamin Lin, they have by now been forked into almost endless variants available for most platforms in one variant or another.

However this version developed by Erwin Waterlander that is available for DOS, MS Windows and OS/2 Warp, not only includes all common patches from the UNIX versions but adds a number of fixes and features specific to this variant including internationalization and Unicode support.

Features

  • Automatically skips binary and non-regular files
  • In-place, paired, or stdio mode conversion
  • Keep original file dates option
  • 7-bit and ISO conversion modes like SunOS dos2unix
  • Conversion of Unicode UTF-16 files.
  • Handles Unicode Byte Order Mark (BOM)
  • Display file information
  • Secure

In addition, the Windows and DOS versions feature:

  • Native language support for Brazilian Portuguese, Chinese simplified and traditional, Danish, Dutch, English, Esperanto, French, German, Hungarian, Japanese, Norwegian Bokmål, Polish, Russian, Serbian, Spanish, Ukrainian and Vietnamese.

Versions

  • 4.0.1 (2009-12-21), adds port to OS/2 Warp
  • 5.3.2 (2012-01-27), adds Wildcard support on OS/2
  • 7.3.4 (2016-05-25)
  • 7.5.1 (2023-08-29), last OS/2, DOS and Windows version, compiled using GCC and Open Watcom
Prerequisites
  • GCC runtime libraries for the GCC compiled version

License

Authors

  • Benjamin Lin - (Original author)
  • Erwin Waterlander - (Current maintainer)
  • Elbert Pol (OS/2 Warp port)

Links