Features at a glance
Key features include support for converting Unicode UTF-16 and Unicode UTF-8 files, support for converting UTF-16 files to UTF-8 ones, handling of Unicode BOM (Byte Order Mark) encodings, support for several conversion modes, including paired, in-place, 7-bit, ISO or stdio, support for skipping non-regular and binary files, as well as the ability to keep the original date of the converted file.
Additionally, the software is very secure and comes with native support for several languages, including English, German, Brazilian Portuguese, French, Spanish, Traditional Chinese, Danish, Russian, Vietnamese, Dutch, Hungarian, Esperanto, Norwegian Bokmal, Serbian, Polish and Ukrainian.
The program includes many command-line options, which allow users to convert only line breaks, convert between DOS and ISO-8859-1 character sets, use various code pages, change the conversion mode, follow symbolic links and convert the targets, replace symbolic links with converted files, as well as to keep targets and symbolic links untouched.
Under the hood, supported OSes and availability
This project is actually an update of Benjamin Lin's implementations. Therefore, it also supports UTF-8 and UTF-16 conversions, and runs well on Linux, Microsoft Windows and BSD operating systems. It is written entirely in the C programming language.
The Dos2Unix project can be easily installed from the default software repositories of your GNU/Linux distribution. If the package is not available on your operating system, then you can use the universal tarball provided by Softpedia on the dedicated download section above.
Reviewed by Marius Nestor on September 22nd, 2014
In a hurry? Add it to your Download Basket!
- man.nro: New file.
- NEWS: New file.
- man.c: Borland C port from Erwin Waterlander, firstname.lastname@example.org or email@example.com. (add_page): Fix a bug in memory allocation for the pages array. (display_page): Leave spaces around "or" between the two program names. (set_flags): Don't leak file handles if fgets fails to read, close the file unconditionally. Fix the diagnostic message. (try_directory) [__TURBOC__]: Compare `man' and `cat' directory names and file names returned by `readdir' case-insensitively. `struct dirent' lacks the d_namlen member, fix with `strlen'. (man_entry): Free `curdir' after usage. (main): Free pages before exiting.
- contrib/*: New files, for portability to Borland C.
Application descriptionDos2Unix and Unix2Dos are two open source command-line programs that have been designed from the ground up to be used ...