Re-added whom(1). This implementation is written from scratch.
[mmh] / man / whom.man1
1 .\"
2 .\" %nmhwarning%
3 .\"
4 .TH WHOM %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
5 .SH NAME
6 whom \- report to whom a message would go
7 .SH SYNOPSIS
8 .HP 5
9 .na
10 .B whom
11 .RB [ \-tocc " | " \-notocc ]
12 .RB [ \-bcc " | " \-nobcc ]
13 .RB [ \-alias " | " \-noalias ]
14 .RB [ \-Version ]
15 .RB [ \-help ]
16 .IR file ...
17 .ad
18 .SH DESCRIPTION
19 .B Whom
20 is used to list the recipient addresses in the headers of a message.
21 .PP
22 Per default,
23 .B whom
24 lists both, sighted and hidden, recipients.
25 The
26 .BR \-notocc
27 option suppresses the listing of sighted recipients.
28 The
29 .BR \-nobcc
30 option suppresses the listing of hidden recipients.
31 If both kinds of recipients are requested, they are separated by a
32 line similar to ``\0==BCC==''.
33 The actual separator may change, but the regular expression
34 /^[\0\\t].*BCC/ should always match.
35 .PP
36 With
37 .BR \-alias ,
38 aliases for all recipients are expanded, according to the
39 alias files given by the `Aliasfile:' profile entry.
40 This is somehow similar to running:
41
42 .RS 5
43 .nf
44 ali `whom /path/to/msg`
45 .fi
46 .RE
47
48 .SH FILES
49 .fc ^ ~
50 .nf
51 .ta \w'%etcdir%/ExtraBigFileName  'u
52 ^$HOME/.mmh/profile~^The user profile
53 .fi
54
55 .SH "PROFILE COMPONENTS"
56 .fc ^ ~
57 .nf
58 .ta 2.4i
59 .ta \w'ExtraBigProfileName  'u
60 ^Path:~^To determine the user's mail storage
61 ^Aliasfile:~^For default alias files
62 .fi
63
64 .SH "SEE ALSO"
65 mh\-alias(5), spost(8)
66
67 .SH DEFAULTS
68 .nf
69 .RB ` \-tocc '
70 .RB ` \-bcc '
71 .RB ` \-alias '
72 .fi
73
74 .SH CONTEXT
75 None
76
77 .SH BUGS
78 .B whom
79 does not (yet) accept
80 .I msg
81 and
82 .I +folder
83 arguments.