Input is a list of names in the form "surname, forename", separated by newlines. For each name, the script generates a three-letter abbreviation following these rules:
If the surname is a compound name (containing a hyphen), the abbreviation is formed by the first letters of the forename and the two surname parts.
If the forename is a compound name (containing a hyphen), the abbreviation is formed by the first letters of the two forename parts and the surname.
Otherwise, the abbreviation is formed by the first letter of the forename and the first two letters of the surname.
The output is a list of names, each followed by its abbreviation. If two or more names result in the same abbreviation, the conflicting names are listed.
Utility Mill is another wonderful Blended Technologies project.
copyright, owned and operated by Blended Technologies LLC.