From: John Cowan <xxxxxx@ccil.org>Date: Monday, August 26, 2019 4:02 PMOn Mon, Aug 26, 2019 at 10:42 AM Lassi Kortela <xxxxxx@lassi.io> wrote:[...]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.
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.