Subject: bin/1692: send-pr fails to expand the `&' character in the name field in passwd
To: None <gnats-bugs@gnats.netbsd.org>
From: Volker A. Brandt <volker@iam.uni-bonn.de>
List: netbsd-bugs
Date: 10/24/1995 22:39:03
>Number:         1692
>Category:       bin
>Synopsis:       send-pr fails to expand `&' in name field of /etc/passwd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 25 06:05:00 1995
>Last-Modified:
>Originator:     Volker A. Brandt
>Organization:
none
>Release:        ftp'd on Oct 8, 1995
>Environment:
	
System: NetBSD vab486.bub.de 1.0A NetBSD 1.0A (VAB486) #0: Mon Oct 16 21:20:52 MET 1995 sysadm@vab486.bub.de:/usr/src/sys/arch/i386/compile/VAB486 i386


>Description:

send-pr fails to expand the `&' character in the name field in /etc/passwd, 
thus creating incorrect defaults in the problem report template file.

>How-To-Repeat:

Create a user account with the `&' placeholder, such as:

	volker:*:400:100:& A. Brandt:/u/volker:/bin/tcsh

Become that user, then send a problem report using send-pr.
Send-pr will then generate a line like this:
	">Originator:	& A. Brandt"

>Fix:

Sorry, no time for shell hacking 8-(   I just use .fullname as a quick fix.



-- 
----------------------------------------------------------------------------
Chirac -- Le fossoyeur de la Grande Nation 		Volker A. Brandt
Internet: volker@iam.uni-bonn.de			Angewandte Mathematik
Phone/FAX number available upon request			(Bonn, Germany)
>Audit-Trail:
>Unformatted: