View Single Post
Old 02-10-2009, 05:00 AM   #2
leandroide
Zealot
leandroide has learned how to buy an e-book online
 
leandroide's Avatar
 
Posts: 144
Karma: 92
Join Date: May 2006
Location: Vigo, Spain
Device: Papyre 6.1 (Hanlin V3)
This worked for me:

1. Open the file in vim
2. Type ":%s/\n\n/#/g"
3. Type ":%s/\n//g"
4. Type ":%s/#/^M/g"

# is the character you choose to mark a double newline
^M is obtained by typing "CTRL-V" and "ENTER"

Hope this works for you,

L.
leandroide is offline   Reply With Quote