Bee Kay :
CentOS no longer includes it in a default distro, but is readily available.\n\nCommand:\n\nyum install unix2dos\n\n\nYou may as well install its mirror image, dos2unix\n\nyum install dos2unix\n\n\nFor some reason, saving 35k of space on a distro was that important, so we can keep updating threads like this.\n\n:| have an edited day.",
2013-10-15T23:18:32
octopusgrabbus :
Most Linux distributions I know of include unix2dos and dos2unix. As of Ubuntu 10.04, these utilities were dropped from the default installation, but were easily added by installing to tofrodos package using the following command.\n\nsudo aptitude install tofrodos\n\nTo date, both Red Hat and its non-branded CentOS cousins have always contained these utilities. ",
2012-05-18T23:43:38
Erwin Waterlander :
On Ubuntu dos2unix is in the Universe repository.\nsudo apt-get install dos2unix\n\nSee also http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=dos2unix&searchon=names&version=all&release=all\n\nLinux Mint: http://community.linuxmint.com/software/view/dos2unix\n\nThe risk of flip is that you might convert Unix line breaks to DOS line breaks, while you expected the opposite.",
2013-10-16T08:33:39