unix2dos equivalent in linux

linux, migration, unix

Solution

CentOS no longer includes it in a default distro, but is readily available.

Command:

yum install unix2dos

You may as well install its mirror image, dos2unix

yum install dos2unix

For some reason, saving 35k of space on a distro was that important, so we can keep updating threads like this.

:| have an edited day.

Problem

I am planning to migrate my application coded in C/C++ and running on UNIX to Linux Suse 11.1. I have some places where unix2dos is used. I knew that flip is alternative to unix2dos in linux. Please let me know is there any risk involved in using flip on linux as unix2dos equivalent?

Original source