Showing posts with label replace newline in vi. Show all posts
Showing posts with label replace newline in vi. Show all posts

Wednesday, August 11, 2010

Replacing newline character in vi

http://stackoverflow.com/questions/71323/how-to-replace-a-character-for-a-newline-in-vim
I faced this problem to replace new line character.

Use \r instead of \n.
in vi command so