Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2003 14:49:40 +0530
From:      Shantanu Mahajan <freebsd@dhumketu.cjb.net>
To:        Anil Garg <anilg@niksun.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to remove ^M character
Message-ID:  <20030802091940.GA687@dhumketu.homeunix.net>
In-Reply-To: <08ca01c35807$4abad740$1e003c0a@niksuntest>
References:  <08ca01c35807$4abad740$1e003c0a@niksuntest>

next in thread | previous in thread | raw e-mail | index | archive | help
+-- 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



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