prompter-sendfiles
[mmh] / man / rcvpack.man
1 .\"
2 .\" %nmhwarning%
3 .\" $Id$
4 .\"
5 .TH RCVPACK %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 .SH NAME
7 rcvpack \- append message to file
8 .SH SYNOPSIS
9 .HP 5
10 .B %libdir%/rcvpack
11 .I file
12 .RB [ \-mbox ]
13 .RB [ \-mmdf ]
14 .RB [ \-version ]
15 .RB [ \-help ]
16 .SH DESCRIPTION
17 The
18 .B rcvpack
19 program will append a copy of the message to the file
20 listed on its command line.
21 .PP
22 If the
23 .B \-mbox
24 switch is given (the default), then the messages are
25 separated using mbox (uucp) style delimiters.  This is the format used
26 by most mail clients (elm, mailx, etc.).
27 .PP 
28 If the
29 .B \-mmdf
30 switch is given, then the messages are separated by
31 mmdf style delimiters.  Each message in the file is separated by four
32 CTRL\-A's and a newline.
33 .PP
34 .B rcvpack
35 will correctly lock and unlock the file to serialize
36 access to the file, when running multiple copies of
37 .B rcvpack .
38 .PP
39 In general, its use is obsoleted by the
40 .B file
41 action of
42 .BR slocal ,
43 although it might still have occasional uses in various
44 shell scripts.
45
46 .SH FILES
47 .fc ^ ~
48 .nf
49 .ta \w'/usr/local/nmh/etc/ExtraBigFileName  'u
50 ^%etcdir%/mts.conf~^nmh mts configuration file
51 .fi
52
53 .SH "SEE ALSO"
54 rcvdist(1), rcvstore(1), rcvtty(1), slocal(1)
55
56 .SH BUGS
57 Only two return codes are meaningful, others should be.