Revert "Remove stdio internals manipulation in sbr/m_getfld.c"
[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 the printing of both kinds of recipients, visible and hidden,
32 is requested and hidden recipients are present,
33 they are separated by a line similar to ``\0==BCC==''.
34 The actual separator may change, but the regular expression
35 /^[\0\\t].*BCC/ should always match.
36 No separator is printed if only one kind of recipients is requested
37 for printing, or if both are requested but no hidden recipients are
38 present.
39 .PP
40 With
41 .BR \-alias ,
42 aliases for all recipients are expanded, according to the
43 alias files given by the `Aliasfile:' profile entry.
44 This is somehow similar to running:
45
46 .RS 5
47 .nf
48 ali `whom /path/to/msg`
49 .fi
50 .RE
51
52 .SH FILES
53 .fc ^ ~
54 .nf
55 .ta \w'%etcdir%/ExtraBigFileName  'u
56 ^$HOME/.mmh/profile~^The user profile
57 .fi
58
59 .SH "PROFILE COMPONENTS"
60 .fc ^ ~
61 .nf
62 .ta 2.4i
63 .ta \w'ExtraBigProfileName  'u
64 ^Path:~^To determine the user's mail storage
65 ^Aliasfile:~^For default alias files
66 .fi
67
68 .SH "SEE ALSO"
69 mh\-alias(5), spost(8)
70
71 .SH DEFAULTS
72 .nf
73 .RB ` \-tocc '
74 .RB ` \-bcc '
75 .RB ` \-alias '
76 .fi
77
78 .SH CONTEXT
79 None
80
81 .SH BUGS
82 .B whom
83 does not (yet) accept
84 .I msg
85 and
86 .I +folder
87 arguments.