[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] 'dist' in "1 line noninteractive script"
From: |
nmh |
Subject: |
Re: [nmh-workers] 'dist' in "1 line noninteractive script" |
Date: |
Tue, 23 Jul 2019 13:53:02 -0500 |
Hi Ralph:
On Sun 7/21/19 12:56 +0100 Ralph Corderoy wrote:
[...]
>http://git.savannah.nongnu.org/cgit/nmh.git/tree/etc/distcomps is the
>stock one for comparison.
Thanks Ralph, I have updated my personal distcomps per above.
>> echo send |
>> dist -noedit \
>> -from address@hidden -to address@hidden -cc address@hidden -fcc
>> resent \
>> +sent 2022
>>
>> Is there a prefered way to the above approach for automating the send?
>
>Another way is
>
> echo y | dist -whatnowproc send -to foo
>
>The icky ‘y’ is needed to answer send(1)'s ‘Use ".../42"?’ message
>stating the draft prepared by dist(1) and communicated with the mhdraft
>environment variable. send doesn't ask if its -draft is given, but
>-whatnowproc doesn't accept ‘send -draft’ as it tries to exec a program
>called that single word.
OK the whatnowproc must be a single word - good to know.
Thanks for the help.
David's follow up suggests that send uses a few
env variables to detect that 'dist' is calling it.
--
regards,
Tom
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", (continued)
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", nmh, 2019/07/20
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", Ralph Corderoy, 2019/07/21
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", David Levine, 2019/07/22
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", nmh, 2019/07/23
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", Ken Hornstein, 2019/07/23
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", nmh, 2019/07/25
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", Valdis Klētnieks, 2019/07/25
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", Ken Hornstein, 2019/07/25
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", David Levine, 2019/07/23
- Re: [nmh-workers] 'dist' in "1 line noninteractive script", nmh, 2019/07/25
- Re: [nmh-workers] 'dist' in "1 line noninteractive script",
nmh <=