Lars Roland Kristiansen wrote:

>ok that do work (thanks) only problem is that i got 200 files with this
>problem en several directories is there a command that i can do (maby
>togheter with find -exec)
>
tr -d "\r"

will translate the files for you. but it reads from standard input to 
standard output.

If you ftp the files in ascii mode to a unix machine they should be 
fixed to. The ^M followed by a newline are simply the carriage 
return/newline pairs dos you need to translate to the newline of unix.

Andreas

-- 
Prof. Dr. Andreas J. Guelzow                    
Assoc. Prof of Mathematics
Concordia University College of Alberta
http://www.math.concordia.ab.ca/aguelzow




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to