From aeca8a417f58825dc5c5c3fbd9d958251d6763fe Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Sat, 5 May 2012 11:43:24 +0200 Subject: [PATCH] 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. --- man/mhmail.man1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4