A string that is used to identify a user; see also User Database. To be portable across systems conforming to POSIX.1-2017, the value is composed of characters from the portable filename character set. The <hyphen-minus> character should not be used as the first character of a portable user name.
3.282 Portable Filename Character Set
The set of characters from which portable filenames are constructed.A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 . _ -
From: John Cowan <firstname.lastname@example.org>Date: Monday, August 26, 2019 4:02 PMOn Mon, Aug 26, 2019 at 10:42 AM Lassi Kortela <email@example.com> 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.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.- Harold