1753512 Members
5525 Online
108795 Solutions
New Discussion юеВ

dos2ux

 
oiram
Regular Advisor

dos2ux

Hello:


Where I can find the utility dos2ux for redhat 7.0?

Best regards,
Mario.
5 REPLIES 5
benoit Bruckert
Honored Contributor

Re: dos2ux

I Mario,
cat | tr -d '\r' | tr -d '\032' should do the same as dos2ux..
hope that help..
Benoit
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)
Balaji N
Honored Contributor

Re: dos2ux

hi
just search for the sources and compile f u dont find the RPM.

else,
try
1. cat filename.dos | tr -d '\015' > filename.unix
2. col -bx < dosfile > newfile
3. if vim is installed, a) vim dosfile.txt b) :set ff=unix c) :wq

btw, all the above tricks are from LOST (Linux One Stanza Tip) available at lost.sourceforge.net

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Bjoern Myrland
Advisor

Re: dos2ux

Nicolas Portais
Frequent Advisor

Re: dos2ux

Hi,

You can find it in rpmfind.net:
http://rpmfind.net/linux/rpm2html/search.php?query=dos2unix
--
Nicolas
Ionut Grigorescu_2
Super Advisor

Re: dos2ux

in HP-UX - dos2ux
in Linux - dos2unix - see man dos2unix

regards,
ionut
If it weren't for STRESS I'd have no energy at all