[Wolves] Character stripper

Chris Procter Chris at foxonline.co.uk
Thu Jan 15 10:57:22 GMT 2004


tr can replace one ascii character with another
e.g.
tr '\"' '\'\' < input.file > output.file

(tested on cygwin) should replace double quotes with single quotes. Not
really sure what you mean by long dashes and curly quotes but if they're
ascii then tr should work.

chris



-----Original Message-----
From: Matthew Revell [mailto:wolveslug at understated.co.uk]
Sent: 15 January 2004 10:30
To: wolves at mailman.lug.org.uk
Subject: [Wolves] Character stripper


Hello,

I'm being too lazy, well too busy, to do a proper Google for this, so I'll
ask you guys.

Does anyone know of a decent character stripper? I mean, a bit of software
or website where you feed in a text file and it spits out the same text
file but with all the long dashes made into normal hyphens and all the
curly quote makes into straight quotes?

Matt.

_______________________________________________
Wolves LUG mailing list
Homepage: http://www.wolveslug.org.uk/
Mailing list: Wolves at mailman.lug.org.uk
Mailing list home: http://mailman.lug.org.uk/mailman/listinfo/wolves


**********************************************************************
Any opinions expressed in this email are those of the individual
and not necessarily those of Fox Online.
This email and any files transmitted with it, including replies and
forwarded copies (which may contain alterations) subsequently transmitted
from Fox Online, are confidential and solely for the use
of the intended recipient.
If you have received this email in error please notify Fox Online by
telephone on +44 (0)121 693 1424.
**********************************************************************




More information about the Wolves mailing list