Dos2Unix 7.0

Small, yet powerful Open Source CLI tools to convert text files from/to DOS and UNIX encoding
Dos2Unix is an open source, cross-platform and free command-line software that can be used to efficiently convert text files from one encoding to another. It supports DOS, MAC and UNIX line breaks. It is actually comprised of three CLI utilities, dos2unix, unix2dos and mac2unix, which allow users to easily and quickly convert text files that have UNIX line endings, MAC line endings or DOS line endings to one another.

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.

Command-line options

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 on September 22nd, 2014


last updated on:
September 22nd, 2014, 7:29 GMT
price:
FREE!
developed by:
Erwin Waterlander
license type:
BSD License 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

softpedia rating

4.0/5

user rating 1

UNRATED
5.0/5
 

0/5

3 Screenshots
Dos2Unix - The help message of the dos2unix command-line tool, as viewed from the Linux TerminalDos2Unix - The help message of the unix2dos command-line tool, as viewed from the Linux TerminalDos2Unix - The help message of the mac2unix command-line tool, as viewed from the Linux Terminal
What's New in version 6.0.4
  • man.nro: New file.
  • NEWS: New file.
  • man.c: Borland C port from Erwin Waterlander, waterlan@xs4all.nl or erwin.waterlander@philips.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.
read full changelog
 

Application description

Dos2Unix and Unix2Dos are two open source command-line programs that have been designed from the ground up to be used ...

Add your review!

SUBMIT