Changeset 1440:df295e837621

Show
Ignore:
Timestamp:
2000-01-18 14:17:45 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Documentation fix about gecos_mask. From Will Fiveash.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • alias.c

    r1423 r1440  
    9191           /* Use regular expression to parse Gecos field.  This result of the 
    9292            * parsing will be used as the personal ID string when the alias is 
    93             * expaned. 
     93            * expanded. 
    9494            */ 
    9595          if (regexec (GecosMask.rx, pw->pw_gecos, 1, pat_match, 0) == 0) 
  • init.h

    r1424 r1440  
    549549  ** to "^[^,]*" which will return the string up to the first "," encountered. 
    550550  ** If the GECOS field contains a string like "lastname, firstname" then you 
    551   ** should set the gecos_regexp=".*". 
     551  ** should set the gecos_mask=".*". 
     552  ** .pp 
     553  ** This can be useful if you see the following behavior: you address a e-mail 
     554  ** to user ID stevef whose full name is Steve Franklin.  If mutt expands  
     555  ** stevef to "Franklin" stevef@foo.bar then you should set the gecos_mask to 
     556  ** a regular expression that will match the whole name so mutt will expand 
     557  ** "Franklin" to "Franklin, Steve". 
    552558  */ 
    553559  { "hdr_format",       DT_SYN,  R_NONE, UL "index_format", 0 },