From: Junio C Hamano Date: Mon, 19 Sep 2005 16:49:49 GMT Subject: Re: What shall we do with the GECOS field again? Message-ID: <7vd5n5q9xu.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > The Perl User::pwent module seems to agree, btw (also about '&'): > > "Interpretation of the gecos field varies between systems, but > traditionally holds 4 comma-separated fields containing the user's > full name, office location, work phone number, and home phone number. > > An & in the gecos field should be replaced by the user's properly > capitalized login name." I vaguelly recall seeing that & somewhere and wondering what they do with mcdonalds ;-) > I still worry about names of the type "Torvalds, Linus", but maybe that's > just not an issue. Does not appear to be. So I'd vote for us doing the "cut at first comma, substitute & with toupper(login[0])+login[1..]".