Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 01:13:40 +0530
From:      Shantanu <freebsd@dhumketu.cjb.net>
To:        Soo-Hyun Choi <shchoi@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: vi editor related question
Message-ID:  <20040830194339.GA1662@dhumketu.homeunix.net>
In-Reply-To: <34b425c50408271652314776b1@mail.gmail.com>
References:  <34b425c50408271652314776b1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
+++ Soo-Hyun Choi [freebsd] [28-08-04 00:52 +0100]:
| Hi,
| 
| I edit C++ codes with a certain text editor under Windows XP, and then
| I open the C++ codes using vi editor under FreeBSD. Then, there are
| bunch of "^M" sign at the end of each line. Does anyone know why this
| is happening? And, does anyone can tell me how to avoid this kind of
| things?
| 
| Cheers,
| 
| ------------------------------

col -bs < oldfile > newfile

Regards,
Shantanu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040830194339.GA1662>