Re: [ILUG] ^Ms

From: Waider (waider at domain dspsrv.com)
Date: Wed 03 Oct 2001 - 14:21:59 IST


According to James Cooper:
> Hi all,
> I'm editing a C source file in kwrite. Everything looks ok but when I open
> the same file with 'view' there are a load of ^Ms where newlines should
> be. I'm using KDE 2.1.2. How does I be fixing this problem?
>
> Thanks
> James

Many, many ways. If you use vi, try editing it with vi -a and doing
:%s/^M$//

where ^M is Control-V Control-M (i.e. it's a real ^M)

Waider

-- 
waider at domain dspsrv.com / Chances are I'm not at home right now.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:29 GMT