Re: gecos field naming (was Re: Remaining things to remove mostly per the 80/20 rule) Lassi Kortela 11 Aug 2019 16:02 UTC

> Here's a survey of how it's described in passwd(5) manual pages:

That survey suggests one more possibility:

- Split the GECOS field at the first comma.

- Return the part before that comma as the "user full name".

- Ignore the remainder.

- If there is no comma, return the entire field as "user full name".

- Maybe also expand any ampersand (&) to the username.