Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed/vi how to concatenate all non-empty lines?



>
>      :g/^$/.+1;/^$/-1jo

Seems to have worked only partially. Some blanks lines between paragrpahs 
were removed. Also I have some one line headers that were separated from the 
paragraphs by one line. That one empty line separator is now gone :)

Jc


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links