From: markus schnalke Date: Sat, 5 May 2012 09:43:24 +0000 (+0200) Subject: mhmail: For mailx(1) compat: A period alone on a line means EOF. X-Git-Tag: mmh-thesis-end~44 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=aeca8a417f58825dc5c5c3fbd9d958251d6763fe;p=mmh mhmail: For mailx(1) compat: A period alone on a line means EOF. 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. --- diff --git a/man/mhmail.man1 b/man/mhmail.man1 index d2dcaae..78567d8 100644 --- a/man/mhmail.man1 +++ b/man/mhmail.man1 @@ -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 -.B mail +.B mail and .BR mailx . Alternatively, you can specify the text of the message at the command