+ /*
+ * Perform the same processing that getuserinfo() does.
+ */
+
+ /*
+ * Stop at the first comma.
+ */
+ if ((p = strchr(name, ',')))
+ *p = '\0';
+
+ /*
+ * Quote the entire string if it has a special character in it.
+ */
+ escape_display_name (name);
+
+ printf("%s\n", name);