From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 08:06:42 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 7F50E37B401 for ; Fri, 1 Aug 2003 08:06:42 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6195A43F93 for ; Fri, 1 Aug 2003 08:06:41 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 9252 invoked by uid 65534); 1 Aug 2003 15:06:40 -0000 Received: from dsl-cust-145.openweb.ca (EHLO [64.39.186.145]) (64.39.186.145) by mail.gmx.net (mp022) with SMTP; 01 Aug 2003 17:06:40 +0200 From: Adam To: freebsd-questions@freebsd.org In-Reply-To: <08ca01c35807$4abad740$1e003c0a@niksuntest> References: <08ca01c35807$4abad740$1e003c0a@niksuntest> Content-Type: text/plain Message-Id: <1059750432.87906.87.camel@elwood> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 01 Aug 2003 11:07:12 -0400 Content-Transfer-Encoding: 7bit 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 15:06:42 -0000 On Fri, 2003-08-01 at 04:31, Anil Garg wrote: > 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 general, you can use a tool such as converters/unix2dos However, in regards to FTP, you simply need to transfer text files in ASCII mode, so that the ^M's are automatically removed. -- Adam