dos2unix icondos2unix 6.0.4

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.

The software is comprised of three CLI utilities, dos2unix, unix2dos and mac2unix, which allows users to easily and quickly convert text files that have UNIX line endings, MAC line endings or DOS line endings to one another.

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.

last updated on:
January 4th, 2014, 1:30 GMT
developed by:
Erwin Waterlander
license type:
BSD License 
ROOT \ Utilities


In a hurry? Add it to your Download Basket!

user rating



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 This Release:
  • man.nro: New file.
  • NEWS: New file.
  • man.c: Borland C port from Erwin Waterlander, or (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

Add your review!