From owner-freebsd-questions@FreeBSD.ORG Thu Apr 17 14:17:35 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 9DD7A37B401 for ; Thu, 17 Apr 2003 14:17:35 -0700 (PDT) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB62443FBD for ; Thu, 17 Apr 2003 14:17:33 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b154.otenet.gr [212.205.244.162]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h3HLHTJV017299; Fri, 18 Apr 2003 00:17:30 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h3HLHNo6017207; Fri, 18 Apr 2003 00:17:29 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h3HJgVZP016843; Thu, 17 Apr 2003 22:42:31 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 17 Apr 2003 22:42:31 +0300 From: Giorgos Keramidas To: Gary D Kline Message-ID: <20030417194231.GA16675@gothmog.gr> References: <200304151041.57911.a.carter@intrasoft.lu> <20030415180909.GC72565@joloxbox.joshualokken.com> <20030415203906.GB95873@tao.thought.org> <20030415213930.GA51229@happy-idiot-talk.infracaninophi> <20030415223439.GF95873@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030415223439.GF95873@tao.thought.org> cc: freebsd-questions@freebsd.org Subject: Re: dos2unix??? 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: Thu, 17 Apr 2003 21:17:36 -0000 On 2003-04-15 15:34, Gary D Kline wrote: >On Tue, Apr 15, 2003 at 10:39:31PM +0100, Matthew Seaman wrote: >>On Tue, Apr 15, 2003 at 01:39:06PM -0700, Gary D Kline wrote: >>> May I leverage off this post to see if anyone has a solution to >>> scraping away thoseflea-bitten Losedows '0x92' and '0x93' >>> characters and replacing with a simpl apostroph ('). >>> >>> If there is already somethng hacked, I would be greatly obliged >>> for a pointer. >> >> In web pages? You can fix up such html entities with tidy (ports >> www/tidy or www/tidy-devel) --- the tidy-devel port has the '-bare' >> option that appears to do exactly the sort of transformation you >> require. See http://tidy.sourceforge.net/docs/quickref.html#bare > > Thanks for the pointer Matthew. Looks like the devel vers > will do the job.... > > PS: with 'tr' I would havde to run it more than once... Or pass arguments like: $ tr '\222\223' "''" :)