From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 01:38:00 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 78DF937B401 for ; Fri, 1 Aug 2003 01:38:00 -0700 (PDT) Received: from mx0.dmpriest.net.uk (mx0.dmpriest.net.uk [62.13.128.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45B2243F3F for ; Fri, 1 Aug 2003 01:37:59 -0700 (PDT) (envelope-from kpielorz@tdx.co.uk) Received: from raptor (kpielorz.dmpriest.net.uk [62.13.130.13]) by mx0.dmpriest.net.uk (8.11.6/8.11.6/Kp) with ESMTP id h718ZqD59447; Fri, 1 Aug 2003 09:35:52 +0100 (BST) Date: Fri, 01 Aug 2003 09:37:59 +0100 From: Karl Pielorz To: Anil Garg , freebsd-questions@freebsd.org Message-ID: <68325843.1059730679@raptor> In-Reply-To: <08ca01c35807$4abad740$1e003c0a@niksuntest> References: <08ca01c35807$4abad740$1e003c0a@niksuntest> X-Mailer: Mulberry/3.1.0b3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 08:38:00 -0000 --On 01 August 2003 14:01 +0530 Anil Garg wrote: > 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 which ^M can be removed. Or, on second thoughts - upload it via ftp in ASCII mode, not binary mode - and the system should do it for you... :) -Kp