One example: Get the effective content part of an 'X-Spam-Status" header. (By
"effective" I mean after unraveling line continuations etc) as part of script
that classifies Email. Yes, I know, I could workaround, here, by assuming that
this header and its content almost always, probably always, has a canonical
form, and that the mis-classifications because of the very occasional
occurrence of this canonical form, elsewhere in a file, will not do much harm.
That program already exists today.
% scan -width 9999 -format '%{x-spam-status}' messages ....
should do what you want, I think.
--Ken
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers