From owner-freebsd-questions Wed Feb 19 19:46:37 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5274737B401 for ; Wed, 19 Feb 2003 19:46:36 -0800 (PST) Received: from post-21.mail.nl.demon.net (post-21.mail.nl.demon.net [194.159.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5738B43FAF for ; Wed, 19 Feb 2003 19:46:35 -0800 (PST) (envelope-from cls@raggedclown.net) Received: from [212.238.197.102] (helo=mailhost.raggedclown.net) by post-21.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 18lhfO-0003C5-00 for freebsd-questions@freebsd.org; Thu, 20 Feb 2003 03:46:34 +0000 Received: from localhost (localhost [127.0.0.1]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id 00CFFC60C for ; Thu, 20 Feb 2003 04:46:33 +0100 (CET) Received: from willow.raggedclown.net (willow.raggedclown.intra [192.168.1.10]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id 5843BE58 for ; Thu, 20 Feb 2003 04:46:23 +0100 (CET) Received: by willow.raggedclown.net (Ragged Clown Host [willow], from userid 1009) id 9136A2259C; Thu, 20 Feb 2003 04:46:24 +0100 (CET) Date: Thu, 20 Feb 2003 04:46:24 +0100 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: GECOS field question (names) Message-ID: <20030220034624.GA10941@raggedclown.net> References: <5.2.0.9.2.20030219182757.0123e658@192.168.1.1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.2.20030219182757.0123e658@192.168.1.1> User-Agent: Mutt/1.5.3i X-Virus-Scanned: by AMaViS 0.3.12pre8 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 19, 2003 at 06:29:08PM -0500, Forrest Aldrich wrote: > I've a user that has a funny last name, which is separated by a real " " > (space). Because of this, most programs will parse it as having a first, > middle, last. Is there some fancy way I can get this joined without > cosmetically altering it to have another character to join it (like a hard > space, etc)? > 2 Suggestions, neither tested: - Put a ",' (comma) after the name (finger looks for this) - Put it in quotes :Fred "van de Bedrock": Just a thought. A "hard" space ?? It's just a text file :) There is a structure to it for the use of the "finger" program, how other programs choose to parse it is probably up to the author. Looking at pwd.h it is just a simple ptr to a character string. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message