mhmail: For mailx(1) compat: A period alone on a line means EOF.
[mmh] / man / mhmail.man1
index f244ae0..78567d8 100644 (file)
@@ -9,15 +9,15 @@ mhmail \- send mail
 .na
 .B mhmail
 .IR addrs ...
-.RB [ \-body
-.IR text ]
 .RB [ \-cc
 .IR addrs ...]
 .RB [ \-from
 .IR addr ]
 .RB [ \-subject
 .IR subject ]
-.RB [ \-version ]
+.RB [ \-bodytext
+.IR text ]
+.RB [ \-Version ]
 .RB [ \-help ]
 .ad
 .SH DESCRIPTION
@@ -64,35 +64,42 @@ The
 .B \-subject
 .I subject
 switch can be used to specify the
-\*(lqSubject:\*(rq field of the message.
+`Subject:' field of the message.
 .PP
 By default,
 .B mhmail
 will read the message to be sent from the
-standard input.  You can specify the text of the message at the command
+standard input.
+The message is terminated by either end-of-file or by a single period
+alone on a line. This is compatible to
+.B mail
+and
+.BR mailx .
+Alternatively, you can specify the text of the message at the command
 line with the
-.B \-body
+.B \-bodytext
 .I text
-switch.  If the standard input has zero
-length,
+switch.
+.PP
+If the standard input has zero length,
 .B mhmail
-will not send the message.  You can use the switch
-.B \-body
-\*(lq\*(rq to force an empty message.
+will not send the message.  You can use
+.B \-bodytext
+"" to force an empty message.
 .PP
-Normally, addresses appearing as arguments are put in the \*(lqTo:\*(rq
+Normally, addresses appearing as arguments are put in the `To:'
 field.  If the
 .B \-cc
 switch is used, all addresses following it are
-placed in the \*(lqCc:\*(rq field.
+placed in the `Cc:' field.
 .PP
 By using
 .B \-from
 .IR addr ,
-you can specify the \*(lqFrom:\*(rq header of
+you can specify the `From:' header of
 the draft.  Naturally,
 .B post
-will fill\-in the \*(lqSender:\*(rq
+will fill\-in the `Sender:'
 header correctly.
 
 .SH FILES