From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 09:49:53 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 4099316A4CE for ; Mon, 1 Dec 2003 09:49:53 -0800 (PST) Received: from dhumketu.homeunix.net (dialpool-210-214-66-166.maa.sify.net [210.214.66.166]) by mx1.FreeBSD.org (Postfix) with SMTP id D24A743FBF for ; Mon, 1 Dec 2003 09:49:45 -0800 (PST) (envelope-from freebsd@dhumketu.cjb.net) Received: (qmail 898 invoked by uid 1001); 1 Dec 2003 17:40:33 -0000 Date: Mon, 1 Dec 2003 23:10:33 +0530 From: Shantanoo Mahajan To: Robin Schoonover Message-ID: <20031201174033.GA874@dhumketu.homeunix.net> Mail-Followup-To: Robin Schoonover , Bryan Cassidy , freebsd-questions@freebsd.org References: <20031130191746.09011caf.end@endif.cjb.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031130191746.09011caf.end@endif.cjb.net> User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 5.1-RELEASE-p11 i386 cc: freebsd-questions@freebsd.org cc: Bryan Cassidy 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 17:49:53 -0000 +++ Robin Schoonover [freebsd] [30-11-03 19:17 -0700]: | On Sun, 30 Nov 2003 21:16:02 -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? | | dos2unix (converters/unix2dos in ports) is an easy route (dos2unix name). | Also you can use the tr command (tr -d '\r' < name > newname). | | -- | Robin Schoonover (aka End) col -bx < old.xhtml > new.xhtml Shantanoo