mhmail: For mailx(1) compat: A period alone on a line means EOF.
authormarkus schnalke <meillo@marmaro.de>
Sat, 5 May 2012 09:43:24 +0000 (11:43 +0200)
committermarkus schnalke <meillo@marmaro.de>
Sat, 5 May 2012 09:43:24 +0000 (11:43 +0200)
Also renamed the -body switch to -bodytext because its argument is the
body text and not a file containing the body text. The rename should
clarify this. After all, typing `-body' results in the same as typing
`-bodytext' or only `-b'.
Now, fgets() is used instead of fread(), thus not allowing null-bytes
in the input anymore. This should be no restriction.

man/mhmail.man1

index d2dcaae..78567d8 100644 (file)
@@ -72,7 +72,7 @@ will read the message to be sent from the
 standard input.
 The message is terminated by either end-of-file or by a single period
 alone on a line. This is compatible to
 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 
+.B mail
 and
 .BR mailx .
 Alternatively, you can specify the text of the message at the command
 and
 .BR mailx .
 Alternatively, you can specify the text of the message at the command