Op di 29 aug 2023 om 23:05 schreef Nils Kattenbeck <nilskemail@xxxxxxxxx>:
No, you can use systemd-cat to then invoke your script which applies
to every output of it.
OK, I will dive into it.
Also, you can just use reply-all in gmail (or even set it as the
default in the settings) to have the correct behaviour of sending
mails also the the mailing list.
I will do that then. Only problem is that the original poster will get the message two times.
Except when I remove the To. But forgetting to remove that is not as bad as not sending it to the mailing list.
On Tue, Aug 29, 2023 at 10:25 PM Cecil Westerhof <cldwesterhof@xxxxxxxxx> wrote:
>
> Aargh, forgot again that gmail works differently when replying. :'-{
>
> Op di 29 aug 2023 om 21:07 schreef Cecil Westerhof <cldwesterhof@xxxxxxxxx>:
>>
>> Op di 29 aug 2023 om 19:47 schreef Nils Kattenbeck <nilskemail@xxxxxxxxx>:
>>>
>>> Hi, At least for simple cases you can use systemd-cat which allows
>>> setting different priorities for stdout and stderr. It even explicitly
>>> states that doing so will lose the ordering guarantees which are only
>>> possible when attaching stdout and stderr to the same fd (as Lennart
>>> said).
>>
>>
>> If I understand it correctly, that is on a statement basis, not for the complete script.
--
Cecil Westerhof