How to remove ^M character

Shantanu Mahajan freebsd at dhumketu.cjb.net
Sat Aug 2 10:06:50 PDT 2003


+-- Anil Garg [freebsd] [01-08-03 14:01 +0530]:
| Hi,
| 
| I ftp'd a file from windows to freebsd....not its every line has ^M at its
| end.
| Is there some command in vi (or some way) by whcih ^M can be removed.
| 
| Thanks
| Anil

	col -bx < oldfile > newfile

	Regards,
	Shantanu


More information about the freebsd-questions mailing list