keramida at ceid.upatras.gr
Thu Apr 17 14:17:36 PDT 2003
On 2003-04-15 15:34, Gary D Kline <kline at 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' "''"
More information about the freebsd-questions