koxinga said on 2/11/2006 12:32:
Guido Van Hoecke wrote:
The 'VIM Regular Expressions' at http://www.geocities.com/volontir/ says
:g/^$/,/./-j
- reduce multiple blank lines to a single blank
I understand the ':g/^$/' part, but not the ',/./-j' part.
Anybody cares to explain this?
TIA,
Guido.
well, it's been explained by Tim Chase after your first message.
Oops, I had (re)subscribed half an hour before the first post. My post
nor the answer appeared in my mailbox, probably while the subscription
process wasn't finished yet. So I thought the initial message never made
it to the list and decided to post anew.
After your reply, I browsed the yahoo archives and yes, I found the
original post and Tom's answer.
Sorry for the noise.
And, Tim, thanks for your explanation.
Guido
--
http://vanhoecke.org ... and go2 places!