You can use a third-party tool called dos2unix to convert the files. 
Also, vim has functionality that can do this, but I don't remember it
right now.

HTH!

Tom Purl

> Hi,
>
> I have a lot of text files created in PC. When I open them in Linux
> using gvim, I get a lot of ^M and no line breaking. It is messy. How
> can I read the file correctly in Linux?
>
> Thanks
>
> Frank
>


Reply via email to