The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > OS X (Apple)
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-26-2009
Gale Gorman Gale Gorman is offline
Registered User
  
 

Join Date: Oct 2007
Location: Houston
Posts: 11
Add CRs (newlines)

I have a long file originally created with vi but at some point saved with MS Word. At another time I substituted all occurrences of ^M with XXX. Now I'd like to get this back to vi but with the XXX converted to newline.

I'm using whatever version of vim Apple employs.

Thanks,

Gale