nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] When a message goes only to me, as a cc

2016-10-15 16:42:59
Hi,

Norm wrote:
Would you be willing to tell me how, in such a script, I could detect
the presence or absence of a specific header, say "Exception: norm"?

So, thanks to the other replies, Norm's happy taking Ken's
http://lists.nongnu.org/archive/html/nmh-workers/2016-10/txthpshEQcPNr.txt
and modifying the `fromhost' bits.

But it seems to me that a lot of the complexity comes from nmh not only
accepting the (odd, daft, brain-damaged) GNU convention of allowing
adjectives after the nouns, but producing such an argv itself.  If
postproc knew that argv[argc-1] was the draft file, given argv>1, then
it wouldn't need to know, and maintain, knowledge of a gazillion
options.  post(8) almost has `file' at the end in the synopsis, if -help
and -version were moved then that would be the case, and it would be
nice other bits of nmh produced that ordering.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>