whom − report to whom a message would go
whom |
[−tocc | −notocc] [−dcc | −nodcc] [−bcc | −nobcc] [−alias | −noalias] [−Version] [−help] file... |
Whom is used to list the recipient addresses in the headers of a message.
Per default, whom lists sighted and hidden recipients. The −notocc option suppresses the listing of sighted recipients (To and Cc). The −nodcc option suppresses the listing of hidden DCC recipients. The −nobcc option suppresses the listing of hidden BCC recipients. If the printing of multiple kinds of recipients is requested and hidden ones are present, they are separated by a line similar to ‘‘ ==DCC==’’ or ‘‘ ==BCC==’’. The actual separator may change, but the regular expression /ˆ[ \t].*[DB]CC/ should always match. No separator is printed if only one kind of recipients is requested for printing, or if multiple are requested but no hidden recipients are present.
With −alias, aliases for all recipients are expanded, according to the alias files given by the ‘Aliasfile:’ profile entry. This is somehow similar to running:
ali ‘whom /path/to/msg‘
$HOME/.mmh/profile The user profile
Path: To
determine the user’s mail storage
Aliasfile: For default alias files
mh−alias(5), spost(8)
‘−tocc’
‘−dcc’
‘−bcc’
‘−alias’
None
whom does not (yet) accept msg and +folder arguments.