hd2u is Hany's Dos2Unix convertor, a filter used to convert plain text from the DOS format (CR/LF) to the UNIX format (LF) and vice versa. It can also handle files in the Macintosh format (CR) and convert them into other formats.
|Tags||Text Processing Filters Utilities|
|Operating Systems||POSIX Linux|
Release Notes: If the file type is undetermined (file without line endings or an empty file), this is printed in verbose mode, and no attempt is made to convert the file, thus avoiding truncation of it. There is also a verbose message and Makefile tweaks.
Release Notes: 'b' has been added to 'fopen()' calls so that conversion is not confused on platforms like Cygwin.
Release Notes: Build enhancements: a 'test' target, a 'dos2unix-optimized' target for compilation of optimized binaries, and the ability to build under MinGW/MSYS.
Release Notes: The most notable changes since the last stable release are support for the Macintosh text format, a new --version (-V) option, and documentation enhancements and fixes.
Release Notes: Issues with some binary files being recognized as text files in Macintosh format should be resolved. The documentation has been enhanced and some typos in it were fixed.