The GECOS field in POSIX was created to hold non-unix attributes required by the GE COS operating system, because Denis Ritchie and Ken Thompson could not afford a printer, and had to print through a GCOS system, which required user attributes Unix does not use. Those attributes were stuffed into the GECOS field.
Today the GECOS field is subfielded, holding multiple data items, which might include the common name associated with the user of a POSIX account, as well as things like office location, extension, and home phone.
Tools like
The typical format for the GECOS field is a comma-delimited list with this order: