Red Hat Bugzilla – Bug 50830
dos2unix is missing mac2unix softlink and does not convert text files properly
Last modified: 2007-11-30 17:10:30 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2smp i686)
Description of problem:
The version of dos2unix that ships with RedHat-7.1 does not include the
mac2unix softlink. It also does not convert text files properly. It has a
tendency to mangle the "CR-LF"s and make the text file from a Mac or
Windows PC not much more useable after the conversion.
Steps to Reproduce:
1. get a mac or windows plain text file.
2. dos2unix -o winfilename.txt linuxfilename.txt
3. less linuxfilename.txt
Actual Results: The above commands will still not translate the file
Expected Results: Properly translated files that I can work with in Linux.
This is a minor bug in the overall picture of things BUT it is very
importatnt to me because I have lots of Windows and Mac clients and they
have no way of coping with properly formatted text files.
I note we're also missing a `unix2dos' link.
Both mac2unix and unix2dos are referenced in the dos2unix man page,
so this is potentially confusing.
We now have: (even in FC2) from unix2dos-3.1-18
and from dos2unix-3.1-18
So, the next question is, does it all work as planned (no OS9 or
Windows boxes around, to test)
Updating status, this is something that only needs testing, no
I've tested the versions from comment #2 with some self-generated
DOS/Mac files and all seems to be peechy. I think the bug should be
closed as CURRENTRELEASE.
Thanks for the testing update Uli. Setting status to