How to remove ^M character
Adam
blueeskimo at gmx.net
Fri Aug 1 08:06:42 PDT 2003
On Fri, 2003-08-01 at 04:31, Anil Garg wrote:
> 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.
In general, you can use a tool such as converters/unix2dos
However, in regards to FTP, you simply need to transfer text files in
ASCII mode, so that the ^M's are automatically removed.
--
Adam <blueeskimo at gmx.net>
More information about the freebsd-questions
mailing list