Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!emory!kd4nc!rbdc!kathy From: kathy@rbdc (Kathy Vincent) Newsgroups: comp.text Subject: Re: American to English spelling Message-ID: <1990Nov14.223747.3410@rbdc> Date: 14 Nov 90 22:37:47 GMT References: <2402@exodus.Eng.Sun.COM> Organization: Red Barn Data Center Public Access Unix, Winston-Salem, NC. Lines: 19 tut@cairo.Eng.Sun.COM (Bill "Bill" Tuthill) writes: >Does anybody have an editor script to convert American spelling >(localize, color) to English spelling (localise, colour)? I'd use >the term British instead of English, except that English spelling >is also the norm in Australia, New Zealand, and Canada. I don't know about an editor script, but the UNIX "spell" utility has a -b option (that's "b" for British). If you're concerned with locating words that need to be changed, that should help. (I haven't tried the particular word, but I imagine it would tell you to switch "jail" to "gaol," too, as someone was wondering about. :-) ) You could then use those words to make a "vi" shell script that globally searches and replaces -- but allows you to yea or nay each occurrance (the "c" option at the end of the "s"ubstitute command). Making blanket global changes might be a bit risky ... Kathy Vincent