From owner-freebsd-questions@FreeBSD.ORG Sat Aug 2 10:06:50 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 20CDB37B401 for ; Sat, 2 Aug 2003 10:06:50 -0700 (PDT) Received: from dhumketu.homeunix.net (dialpool-210-214-64-6.maa.sify.net [210.214.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C852D43F85 for ; Sat, 2 Aug 2003 10:06:32 -0700 (PDT) (envelope-from freebsd@dhumketu.cjb.net) Received: by dhumketu.homeunix.net (Postfix, from userid 1000) id 9624DE58; Sat, 2 Aug 2003 14:49:40 +0530 (IST) Date: Sat, 2 Aug 2003 14:49:40 +0530 From: Shantanu Mahajan To: Anil Garg Message-ID: <20030802091940.GA687@dhumketu.homeunix.net> Mail-Followup-To: Anil Garg , freebsd-questions@freebsd.org References: <08ca01c35807$4abad740$1e003c0a@niksuntest> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08ca01c35807$4abad740$1e003c0a@niksuntest> User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.8-STABLE i386 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: Sat, 02 Aug 2003 17:06:50 -0000 +-- 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. | | Thanks | Anil col -bx < oldfile > newfile Regards, Shantanu