Date: Fri, 1 Aug 2003 16:02:11 +0200 From: Simon Barner <barner@in.tum.de> To: Anil Garg <anilg@niksun.com> Cc: freebsd-questions@freebsd.org Subject: Re: How to remove ^M character Message-ID: <20030801140211.GA418@zi025.glhnet.mhn.de> In-Reply-To: <08ca01c35807$4abad740$1e003c0a@niksuntest> References: <08ca01c35807$4abad740$1e003c0a@niksuntest>
next in thread | previous in thread | raw e-mail | index | archive | help
--tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. You can use dos2unix(1) for that. There is also the complementary tool unix2dos(1). Simon --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/KnLiCkn+/eutqCoRAh+vAJ94YT4Roc0yjGevvESlSLJrf5uvPwCZAWEx HiybipCR2rIzQ4uO8KTpB/M= =zpJF -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030801140211.GA418>