Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: RE: sed/vi how to concatenate all non-empty lines?
- To: tlug@example.com
- Subject: Re: RE: sed/vi how to concatenate all non-empty lines?
- From: shimpei@example.com
- Date: Wed, 25 Jul 2001 15:29:09 +0900
- 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: <shimpei@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <xXl8WD.A.UcG.WcmX7@example.com>
- Resent-Sender: tlug-request@example.com
> Thanks. :) > > I've opened the output file in vi but it causes vi to behave strangely, i.e. > I can't cursor down a line or even do a ctrl-f to go down a page. I also > have a bunch of ^M all over the place. There are a whole bunch of ways to fix this, but the simplest is col output.txt > fixed_output.txt > I guess this is caused by the fact that it's an MS-DOS file? the CR/LF is > causing a problem? But when I open the original file in vi I don't see any > ^M though . . . Your vi clone is probably auto-detecting the DOS end-of-line. sed tends to be not as smart.
Home | Main Index | Thread Index
- Prev by Date: RE: sed/vi how to concatenate all non-empty lines?
- Next by Date: syslog2html or something?
- Prev by thread: RE: sed/vi how to concatenate all non-empty lines?
- 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