> > I have copied some MSDOS text files (documents, java source files) to my > > Linux box. So, of course, they all have ^M at the end of each line. At > > our SCO box at work, we have a dos2unix command that would fix > > these...does Linux have a similar tool, and what package is it in?
Hi. Debian does have dos2unix in some package. You would have to search Contents file on ftp site to find which one. Meanwhile I can show you the way I do this: tr -d '\015' < dosfile >unixfile Alex Y. -- _ _( )_ ( (o___ +-------------------------------------------+ | _ 7 | Alexander Yukhimets | \ (") | http://pages.nyu.edu/~aqy6633/ | / \ \ +-------------------------------------------+ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .