Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unix2dos equivalent in linux

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?

like image 574
Sachin Chourasiya Avatar asked Dec 16 '22 23:12

Sachin Chourasiya


1 Answers

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.

like image 89
Bee Kay Avatar answered Jan 02 '23 12:01

Bee Kay