[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vi editor related question



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

Visit your host, monkey.org