🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #2094

Re: American to English spelling

#2094
From: Scott Horne
Date: Fri, 16 Nov 1990 20:01
41 lines
2292 bytes
In article <1990Nov14.223747.3410@rbdc> kathy@rbdc (Kathy Vincent) writes:
>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.  :-)  )

No, it doesn't:

-----------------------cut here--------------------
jaguar> spell -b
gaol jail colour color localise localize
----At this point, I'm going to type a ^D; everything after this is the 
output of `spell----    
color
localize
-----------------------cut here--------------------

The only misspellings it found are `color' and `localize'.

<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).
 ^^^^^^^^^^

That's `occurrence'.  :-)  (Follow-ups to `alt.flame.spelling'.  :-) )

					--Scott

-- 
Scott Horne                               ...!{harvard,cmcl2,decvax}!yale!horne
horne@cs.Yale.edu      SnailMail:  Box 7196 Yale Station, New Haven, CT   06520
203 436-1817                    Residence:  Rm 1817 Silliman College, Yale Univ
Uneasy lies the head that wears the _gao1 mao4zi_.
Technical Details
Message-ID: <27321@cs.yale.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!yale!quasi-eli!cs.yale.edu!horne-scott
References: <2402@exodus.Eng.Sun.COM> <1990Nov14.223747.3410@rbdc>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!yale!quasi-eli!cs.yale.edu!horne-scott
From: horne-scott@cs.yale.edu (Scott Horne)
Newsgroups: comp.text,alt.flame.spelling
Subject: Re: American to English spelling
Message-ID: <27321@cs.yale.edu>
Date: 16 Nov 90 20:01:22 GMT
References: <2402@exodus.Eng.Sun.COM> <1990Nov14.223747.3410@rbdc>
Sender: news@cs.yale.edu
Followup-To: alt.flame.spelling
Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
Lines: 41
Nntp-Posting-Host: jaguar.zoo.cs.yale.edu
Originator: horne@jaguar.CS.Yale.Edu