|
vi
I have a file that at some point I removed all ^Ms and now I'm trying to put a newline return where the ^Ms used to be.
I probably removed the ^Ms a few years ago in Linux or SCO Xenix and now I'm using a MAC.
With the file opened with vi I have tried the following:
:%s/\.[A-Z]/\.^N[A-Z]/g
I'm entering the ^N as ctrl-V ctrl-N and the /g is because as the file stands now I have 2 really long lines.
The results I'm getting are just the literal ^N[A-Z].
|