<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op di 29 aug 2023 om 23:05 schreef Nils Kattenbeck <<a href="mailto:nilskemail@gmail.com">nilskemail@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No, you can use systemd-cat to then invoke your script which applies<br>
to every output of it.<br></blockquote><div><br></div><div style="font-family:courier new,monospace" class="gmail_default">OK, I will dive into it.<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Also, you can just use reply-all in gmail (or even set it as the<br>
default in the settings) to have the correct behaviour of sending<br>
mails also the the mailing list.<br></blockquote><div><br></div><div style="font-family:courier new,monospace" class="gmail_default">I will do that then. Only problem is that the original poster will get the message two times.</div><div style="font-family:courier new,monospace" class="gmail_default">Except when I remove the To. But forgetting to remove that is not as bad as not sending it to the mailing list.<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Tue, Aug 29, 2023 at 10:25 PM Cecil Westerhof <<a href="mailto:cldwesterhof@gmail.com" target="_blank">cldwesterhof@gmail.com</a>> wrote:<br>
><br>
> Aargh, forgot again that gmail works differently when replying. :'-{<br>
><br>
> Op di 29 aug 2023 om 21:07 schreef Cecil Westerhof <<a href="mailto:cldwesterhof@gmail.com" target="_blank">cldwesterhof@gmail.com</a>>:<br>
>><br>
>> Op di 29 aug 2023 om 19:47 schreef Nils Kattenbeck <<a href="mailto:nilskemail@gmail.com" target="_blank">nilskemail@gmail.com</a>>:<br>
>>><br>
>>> Hi, At least for simple cases you can use systemd-cat which allows<br>
>>> setting different priorities for stdout and stderr. It even explicitly<br>
>>> states that doing so will lose the ordering guarantees which are only<br>
>>> possible when attaching stdout and stderr to the same fd (as Lennart<br>
>>> said).<br>
>><br>
>><br>
>> If I understand it correctly, that is on a statement basis, not for the complete script.<br clear="all"></blockquote></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Cecil Westerhof</div></div>