Mostafa S.Ari wrote:
> I have removed all the ^M characters from file but vim still
> say there is som ^M characters. I check the file with cat,
> more and I couldn't see anything.
> Is realy there some ^M that I can't see them. I use vim 72
> under fedora with enhanced comiplation mode.

See
http://vim.wikia.com/wiki/Change_end-of-line_format_for_dos-mac-unix
http://vim.wikia.com/wiki/Hex_dump

The first is a bit messy, but it has useful info. The second
shows how to dump a file in hex, where you will find the ^M
(hex 0d) characters.

The problem is probably that you have a mixture of line endings
(some end with LF only, so Vim shows CR as ^M).

John

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to