[97] in Moira
Capitalization in names
daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Tue May 1 16:02:42 1990
Date: Tue, 1 May 90 16:01:58 -0400
From: Mark Rosenstein <mar@MIT.EDU>
To: accounts@MIT.EDU
Cc: bug-moira@MIT.EDU
The programs which are used to add people to Moira from the registrar
and personel tapes use a simple algorithm to turn the all uppercase
names we receive into what is often, but not always, the correct
capitalization. If you add someone to the database by hand, be sure
that you follow the same technique or register (which also uses this
algorithm) will fail for them.
The first character of the name is capitalized, successive characters
are lowercase until whitespace or punctuation is encountered, after
which the next letter will be capitalized. Thus we end up with:
John Smith
Kareem Abdul-Jabbar (following a hyphen we capitalize again)
Sean O'Reiley (following an apostrophe we capitalize again)
Kevin Mcelheny (the middle of a name is not capitalized)
(note that the E in McElheny is *not* capitalized).
I'll see that at some point in the future, the moira client displays a
warning if a name is entered which doesn't follow this convention (I
don't want to make it a hard rule because we may find a reason to want
to break it sometime).
-Mark
P.S. I happened to notice in the reg_svr log someone failing to
register for this reason. I've fixed their entry.