This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ANNOUNCEMENT] Updated: dos2unix 6.0.5-1


New upstream release.
  * Dos2unix is part of the Translation Project (TP).
    All translations go via the Translation Project.
* New translations of UI messages: Brazilian Portuguese, Chinese (traditional),
    Danish, French, Hungarian, Polish, Serbian, Ukrainian, Vietnamese.
* New translations of the manual: Brazilian Portuguese, French, German,
    Polish, Ukrainian.
  * Generated man pages are included in the source package to prevent
compilation problems with very old or very new perl/pod2man versions.
  * Manuals are now generated from gettext PO files with po4a for easier
  * All manuals are now in UTF-8 encoding.
  * Skip symbolic links on Windows by default (same as on Unix).


Since dos2unix 6.0.5 all man pages are encoded in UTF-8, because even Western-European man pages may contain Unicode characters not supported by
    the Latin-1 (ISO-8859-1) character set.

In order to show UTF-8 man pages properly on Cygwin you need to do the

    In /etc/man.conf, change the NROFF definition to use 'preconv'.

NROFF /usr/bin/preconv | /usr/bin/nroff -c -mandoc 2>/dev/null

    To view the man page set the correct locale. E.g. for Ukrainian:

        export LANG=uk_UA.UTF-8
        man dos2unix


This is an update of Benjamin Lin's implementations of dos2unix and
unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos are
part of several Linux distributions such as RedHat, Fedora, Suse, Gentoo
and others. This update includes all RedHat patches and fixes several
other problems. Internationalization has been added and ports to DOS,
Windows, Cygwin and OS/2 Warp have been made.

These implementations of dos2unix and unix2dos have been modelled after
dos2unix/unix2dos under SunOS/Solaris. They have similar conversion
modes, namely ascii, 7bit and iso. The first versions were made by John
Birchfield in 1989, and in 1995 rewritten from scratch by Benjamin Lin.
Mac to Unix conversion was added by Bernd Johannes Wuebben in 1998, Unix
to Mac by Erwin in 2010.


* Native language support: Dutch, English, Esperanto, German,
  Russian, Spanish.
* 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 Windows UTF-16 files to Unix UTF-8.
* Handles Unicode Byte Order Mark (BOM)
* Secure.

license: 2-clause BSD (FreeBSD)

Erwin Waterlander

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]