Dos2Unix Changelog

What's new in Dos2Unix 7.4.1

Sep 27, 2019
  • Updated Danish, German, Hungarian, Japanese and Ukranian translations.
  • Code cleanup.

New in Dos2Unix 7.3.3 (Feb 16, 2016)

  • New flags h (print header) and p (remove path from file name) for option -i, --info. Fixed printing text in unicode UTF-16 mode on Windows, so that when it is redirected to a file, a correct UTF-16 file is created. Fixed printing of East-Asian text on Windows with an East-Asian regional setting.

New in Dos2Unix 7.3.2 (Nov 23, 2015)

  • New Swedish translations of messages and manual. Updated Danish and Brazilian Portuguese translations. Fix option -iso. The -iso option was misinterpreted as a corrupted -i option. Fix compilation for MSYS1 (mingw.org).

New in Dos2Unix 7.3.1 (Oct 5, 2015)

  • New simplified Chinese translation of the messages and manual. Fixed compile error "wchar_t undefined" when Unicode support is disabled. Fix compilation for MinGW (mingw.org). MinGW-w64 was OK.

New in Dos2Unix 7.2.1 (Apr 4, 2015)

  • Skip GB18030 test when zh_CN.gb18030 locale is not supported. Fix test for option -f. Update manual, section GB18030, and option -m.

New in Dos2Unix 7.2 (Feb 18, 2015)

  • New Japanese translation of the UI messages.
  • Support Chinese GB18030 locale.
  • On Unix/Linux convert UTF-16 to the locale encoding.
  • It is no longer required that the locale encoding is UTF-8.

New in Dos2Unix 7.1 (Oct 14, 2014)

  • New option -i, --info, display file information. This new option prints number of line breaks (DOS Unix Mac), the byte order mark, and if the file is text or binary. It can also print the names of files that would be converted.

New in Dos2Unix 6.0.4 (Jan 4, 2014)

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

New in Dos2Unix 6.0.4 Beta 5 (Dec 13, 2013)

  • Build Windows 32 bit version with Large File Support (LFS), this fixes problems with (huge) files on network shares.
  • Update Russian messages.
  • Added placeholder for Russian translation of manual.

New in Dos2Unix 6.0.3 (Dec 12, 2013)

  • CC and CPP can be overridden by environment.
  • CFLAGS optimization flags can be overridden by environment
  • Separate LIBS from LDFLAGS
  • Makefile: Set CC to gcc for MSYS target. Otherwise /mingw/bin/cc is used
  • dos2unix.c/unix2dos.c: Print value of binary symbol when found
  • dos2unix.c/unix2dos.c: New options -ul and -ub to convert UTF-16 files without BOM
  • po/de.po: Update German translations. Thanks to Lars Wendler
  • po/ru.po: New Russian translation of the messages
  • man/man1/Makefile: Support non-Latin1 man pages.
  • Makefile: Support non-Latin1 man pages.
  • man/nonlatin/man1/ru/dos2unix.pod: Placeholder for Russian manual
  • Makefile: By default don't build non-Latin1 manuals. There are still too many old perl/pod2man versions around (perl < 5.10.1). Add MAN_NONLATIN=1 to enable non-Latin1 manuals
  • Makefile: Set MAN_NONLATIN back to 1. Include non-Latin manuals in source package to prevent compilation troubles. Target 'clean' keeps non-Latin manuals. Use 'maintainer-clean' to erase them
  • mingw32.mak: New makefile for MinGW-w64 targeting win32. MinGW-w64 supports Large File Support (LFS) with -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 while mingw.org doesn't. A user reported failures when concurrent dos2unix processes processed huge files on Windows network share drives. Using MinGW-w64 with LFS support fixed the problem
  • Makefile, common.c: When MinGW-w64 is used for 32 bit, option -V prints (MinGW-w64) for used compiler name

New in Dos2Unix 6.0.2 (Sep 7, 2012)

  • The locale encoding detection has been fixed when NLS is disabled.
  • The line number is printed when a binary symbol is found.
  • This release updates makefiles for Watcom C and adds a new one for OS/2.

New in Dos2Unix 6.0 (May 7, 2012)

  • This version adds conversion of Windows UTF-16 files to Unix UTF-8 files and conversion of Unix UTF-8 files to Windows UTF-8 files with the byte order mark.

New in Dos2Unix 5.3.3 (Mar 10, 2012)

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

New in Dos2Unix 5.3.1 (Aug 10, 2011)

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

New in Dos2Unix 5.3 (Apr 27, 2011)

  • The handling of symbolic links has been improved.
  • Options to skip, replace, or follow symbolic links.
  • Error handling has been improved.
  • Improvements for Cygwin.

New in Dos2Unix 5.1.1 (Aug 19, 2010)

  • A Dutch translation of the manual has been added.
  • A compilation problem on Darwin OS was solved.
  • A Windows 64-bit port has been made.
  • There were some minor cleanups.

New in Dos2Unix 5.0 (Feb 17, 2010)

  • Dos2unix and Unix2dos have been bundled in a single package. German translations have been added. Dos2unix -l --newline also works in MAC mode. Unix2dos also got option -l, --newline. Added MAC mode to Unix2dos: Convert Unix line endings to Mac line endings. Cleanup of messages and manual.

New in Dos2Unix 4.1.2 (Jan 25, 2010)

  • dos2unix.c: Preserve file mode in 'new file mode'.
  • Makefile: Allow CFLAGS to be set externally.

New in Dos2Unix 4.1.1 (Jan 22, 2010)

  • Fix compilation on FreeBSD.
  • Changed home page URL to http://www.xs4all.nl/~waterlan/dos2unix.html