[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Dos to unix conversion



I believe dos2unix is a tool available by default on Solaris, not linux. On
linux try couple of things

1.	open the file in vi "which is vim" on linux, and do " :set
fileformat=unix" then save and quit
2.	sed s/^M// inputfile > tmpfile
	mv tmpfile inputfile



> -----Original Message-----
> From:	Mike Burger [SMTP:mburger bubbanfriends org]
> Sent:	Monday, September 24, 2001 7:01 AM
> To:	redhat-list redhat com
> Subject:	Re: Dos to unix conversion
> 
> Believe it or not, it's actually called "dos2unix". <G>
> 
> On Mon, 24 Sep 2001, Gábor Szemerédy wrote:
> 
> > Hello!
> > Is there a tool to convert Dos format files to unix format?
> > (EOL , Cr characters etc.)
> > Thanks!
> >
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> Redhat-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]