On Thu, 20 Oct 2005, Paul wrote:
Is there a command-line tool that does this using some heuristics to cover most areas that could be problematic?
Paul sed. tr, too, but sed would work. Something like s/"[A-Z,a-z]?/``?/g. I didn't look at my sed book, but that reads, "substitute two single backqotes when there's a plain double quote followed by a single character; do this globally." You want to test that it's not a period, but a letter. Rich -- Dr. Richard B. Shepard, President | Author of "Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic" <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863