From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 07:02:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D11D37B401 for ; Fri, 1 Aug 2003 07:02:17 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 555D943FBD for ; Fri, 1 Aug 2003 07:02:16 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 4122738AD4; Fri, 1 Aug 2003 16:02:12 +0200 (CEST) Date: Fri, 1 Aug 2003 16:02:11 +0200 From: Simon Barner To: Anil Garg Message-ID: <20030801140211.GA418@zi025.glhnet.mhn.de> References: <08ca01c35807$4abad740$1e003c0a@niksuntest> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <08ca01c35807$4abad740$1e003c0a@niksuntest> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-questions@freebsd.org Subject: Re: How to remove ^M character X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2003 14:02:17 -0000 --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--