From: John Cowan <email@example.com>
Date: Monday, August 26, 2019 4:02 PM
Note that as the draft now points out, Cygwin's /etc/nsswitch.conf tells Cygwin what additional information, if any, to put in the GECOS field.
"any and all ampersands in the first element of the list are replaced by the result of user-info:name with the first letter capitalized and other letters intact. If user-info:name does not start with a letter, its case is unaltered."
Works for me.
That helps to clarify the algorithm. Here's my not yet committed SRFI text that incorporates the above as simply as I can:
The raw value [of user-info:full-name] is split on commas, creating a list of strings to be returned. All ampersands in the first element of the list are replaced by user-info:full-name, which is titlecased if it starts with a letter.