Hi,

I propose package 'dos2unix' for cygwin. Dos2unix is part of Fedora, Suse, Debian, Ubuntu, Gentoo, Slackware, and Arch Linux. The homepage is http://www.xs4all.nl/~waterlan/dos2unix.html

http://www.xs4all.nl/~waterlan/cygwin/dos2unix-5.3-1.tar.bz2
http://www.xs4all.nl/~waterlan/cygwin/dos2unix-5.3-1-src.tar.bz2

Big thanks to Charles 'Chuck' Wilson who helped making this release and solving the issues found in previous version 5.2.1-1.

Dos2unix works different wrt symbolic links compared to cygutils' d2u/u2d. By default symbolic links are untouched (as on Linux). By using the option --follow-symlink (or -F) dos2unix works similar as cygutils' d2u, writing to the symbolic link target. Another option --replace-symlink (-R) makes that symbolic links are replaced with the output, keeping the target unchanged. This was the default behaviour of dos2unix prior to version 4.1 (Dec 2009).

For Cygwin the commands 'd2u' and 'u2d' have been added.

category: Utils
requires: libintl8 libiconv2 libgcc1
sdesc: "Line Ending Conversion"
ldesc: "The dos2unix package provides conversion utilities to manipulate
the line endings of text files. These tools can convert between Unix,
DOS/Windows, and (pre OS-X) Mac, as well as perform certain other character set manipulations."

--
Erwin Waterlander
Eindhoven


Reply via email to