]> diplodocus.org Git - nmh/commitdiff
Explicitly state a postproc's last argument will be the draft.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 08:58:34 +0000 (09:58 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 08:58:34 +0000 (09:58 +0100)
Update the sample postproc script to make clear it's the -whom detection
that sucks.

docs/contrib/localpostproc
man/post.man

index c8f7170..53bc2a5 100755 (executable)
@@ -10,7 +10,8 @@
 #
 
 #
-# Find out which message is the draft message; yes, this sucks.
+# Find the draft message, always the last argument, and whether we've
+# been called with -whom;  the latter sucks.
 #
 # The case statement has to know about switches that take arguments;
 # add to this list as necessary.
index 253b80c..459141c 100644 (file)
@@ -62,8 +62,13 @@ Thus, it is
 .B post
 which parses the various header fields, appends a
 \*(lqDate:\*(rq line, and interacts with the mail transport system.
-.B Post
-will not normally be called directly by the user.
+.B post
+will not normally be called directly by the user,
+but can be replaced by the user with a
+.I postproc
+profile component that will have
+.I file
+as its final argument.
 .PP
 .B Post
 searches the \*(lqTo:\*(rq, \*(lqcc:\*(rq, \*(lqBcc:\*(rq,