Sunday, November 18, 2012

Re: New line not recognized

On Saturday, November 17, 2012 10:46:01 PM UTC-6, stosss wrote:
>
>
> A couple weeks ago I had 4 files that I created on my Linux system and
>
> did not move them or share them and some how they were showing a ^M
>
> when I was doing a grep and sed search and replace from the shell.

The problem wasn't "showing a ^M", that's pretty common. The problem was that EVERY line was terminated ONLY by a ^M and there were NO linefeed characters in the file at all, so the file was showing as one long line with a bunch of ^M characters.

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

No comments: