From owner-freebsd-questions@FreeBSD.ORG Sat Aug 2 11:37:56 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 DD7CC37B401 for ; Sat, 2 Aug 2003 11:37:56 -0700 (PDT) Received: from barryg.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 182DA43F3F for ; Sat, 2 Aug 2003 11:37:56 -0700 (PDT) (envelope-from bill@celestial.com) Received: by barryg.mi.celestial.com (Postfix, from userid 203) id 09E36639A6; Sat, 2 Aug 2003 11:37:54 -0700 (PDT) Date: Sat, 2 Aug 2003 11:37:54 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20030802113754.A3344@barryg.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org, Anil Garg References: <08ca01c35807$4abad740$1e003c0a@niksuntest> <20030802091940.GA687@dhumketu.homeunix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030802091940.GA687@dhumketu.homeunix.net>; from freebsd@dhumketu.cjb.net on Sat, Aug 02, 2003 at 02:49:40PM +0530 Subject: Re: How to remove ^M character X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 18:37:57 -0000 On Sat, Aug 02, 2003 at 02:49:40PM +0530, Shantanu Mahajan wrote: >+-- 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. In the future when doing the transfer, make sure your ftp program is in text mode, not binary, and it should take care of this conversion. >| Thanks >| Anil > > col -bx < oldfile > newfile > > Regards, > Shantanu >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Government is actually the worst failure of civilized man. There has never been a really good one, and even those that are most tolerable are arbitrary, cruel, grasping and unintelligent. -- H. L. Mencken