>can you share that bit of mh-format magic?  i'm sure it would work more
>cleanly than my current technique of running sed on the draft.  :-)

Easy peasy:

%<{from}%?(getenv MH_FROM)%|%(void(localmbox))%>%(void(width))%(putaddr From: )

The {from} is there in case I want to use -from from the comp command line.
Obviously the environment variable is MH_FROM.  And I have aliases like this:

% alias pobox
echo "Setting identity to pobox.com"; setenv MH_FROM "Ken Hornstein 
<[email protected]>"

--Ken

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to