ggr (06/21/82)
The gecos field on our USG 4.0 UNIX has the format: 59451-Guy Riddle(6420)P116 If your password file has the same format, the following change to ifuncs.c (the "2.10 6/8/82" version) will delete all the numeric garbage, placing only the user's name on the From line: 446a447 > char *s1; 453a455,462 > #ifdef USG > if((s1 = strchr(inbuf, '-')) == NULL) > return un; > strcpy(inbuf, s1+1); > if((s1 = strchr(inbuf, '(')) == NULL) > return un; > *s1 = '\0'; > #endif