From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 18:18:26 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 379EE16A4CE for ; Sun, 30 Nov 2003 18:18:26 -0800 (PST) Received: from smtp10.wxs.nl (smtp10.wxs.nl [195.121.6.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9036C43FBF for ; Sun, 30 Nov 2003 18:18:16 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp10.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HP700L5P2AP1R@smtp10.wxs.nl> for freebsd-questions@freebsd.org; Mon, 01 Dec 2003 03:16:01 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.9p2/8.12.9) with ESMTP id hB12IgcP021606; Mon, 01 Dec 2003 03:18:42 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.9p2/8.12.9/Submit) id hB12Ifj2021605; Mon, 01 Dec 2003 03:18:41 +0100 (CET envelope-from akruijff) Date: Mon, 01 Dec 2003 03:18:41 +0100 From: Alex de Kruijff In-reply-to: <20031201031602.GA80581@bsdjunky.homeunix.org> To: Bryan Cassidy Message-id: <20031201021841.GB20768@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <20031201031602.GA80581@bsdjunky.homeunix.org> cc: freebsd-questions@freebsd.org Subject: Re: Remove ^M characters from xhtml file 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: Mon, 01 Dec 2003 02:18:26 -0000 On Sun, Nov 30, 2003 at 09:16:02PM -0600, Bryan Cassidy wrote: > I've downloaded a couple of .xhtml files and they have ^M characters > all through it. I tried the col -b < name > newname command on these > files but when I do that it erases the whole document. Any ideas? There's a port called dos2unix of unix2dos that you could let loos on it. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/