Date: Thu, 17 Apr 2003 22:42:31 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Gary D Kline <kline@thought.org> Cc: freebsd-questions@freebsd.org Subject: Re: dos2unix??? Message-ID: <20030417194231.GA16675@gothmog.gr> In-Reply-To: <20030415223439.GF95873@tao.thought.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-04-15 15:34, Gary D Kline <kline@thought.org> 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' "''" :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030417194231.GA16675>