Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]sed/vi how to concatenate all non-empty lines?
- To: tlug@example.com
- Subject: sed/vi how to concatenate all non-empty lines?
- From: "Jean-Christian Imbeault" <jean_christian@example.com>
- Date: Wed, 25 Jul 2001 03:39:18 +0000
- Content-Type: text/plain; format=flowed
- Delivered-To: tlug@example.com
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <jean_christian@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <B37AcC.A.gYF._8jX7@example.com>
- Resent-Sender: tlug-request@example.com
I've been wracking my little brain over this for too long ^_^ I have a text file with some formatting I want to get rid of. Looks like a CR is present at the end of each line to format the text to 76 char per line. I want to get rid of this to have all text for one paragraph on one big line. So how to I get sed or vi to concatenate all lines within a paragraph into one linebut keep the empty lines between paragraphes? (i.e. concatenate all consecutive non-empty lines together)? Thanks! Jc _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
- Follow-Ups:
- Re: sed/vi how to concatenate all non-empty lines?
- From: "SN_Diamond" <Norman.Diamond@example.com>
- RE: sed/vi how to concatenate all non-empty lines?
- From: OZAWA -Crouton- Sakuro <crouton@example.com>
Home | Main Index | Thread Index
- Prev by Date: RE: Unix Man
- Next by Date: Re: sed/vi how to concatenate all non-empty lines?
- Prev by thread: RE: Win viruses
- Next by thread: Re: sed/vi how to concatenate all non-empty lines?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links