Monday, August 17, 2015

displaying ^M carriage returns in a file, like the 'old' vi used to do

Greetings:

I'm certain there are multiple ways this question has already been answered, between the lines, in previous posts regarding removing the ^M carriage returns from files when using vim. Apparently I'm not smart enough to decipher the chatter...

We recently ran into a case where we believed a file to be 'clean' of these pesky characters, but it turns out it was not. We all wished we were back on Solaris where these characters showed up every time when using vi.

So, the question has been raised, and I'm posting it to this group. Is there a simple method, in vim, of displaying ^M carriage return characters as a precaution or test when their presence in a file can be detrimental, if not catastrophic?

Thanks!!

Neil

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: