vi editor related question

Shantanu freebsd at dhumketu.cjb.net
Mon Aug 30 12:44:06 PDT 2004


+++ 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


More information about the freebsd-questions mailing list