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?



Jean-Christian Imbeault wrote:

> Update,
>
> col and the script you provided work fined, except that it removed all blank
> lines :) I was hoping to keep the blank lines as they separated the
> paragraphs from each other . . .
>
> Jc

This will work in vi:

:set ff=unix

and save. The saved file will be in unix format.

You can also do ':set ff=dos' for the other way around.


41 53 5A

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links