So, I have the sieve working up to the point that it calls the script, and the
script is called (I get different errors if the script is not there, for
example).
filter action
execute program `darkmode.sh'
[[EXECUTION ABORTED]]
There's no other error logged (for example, when I had sieve_fi
On 30/10/2020 17:11, @lbutlr wrote:
[...]
> echo $1 | sed -e '||* {color:white !important;
> background-color: black !important; } |'
What should the sed stuff do?
TTBOMK '|' is not known by sed ...
MfG,
Bernd
--
There is no cloud, just other people computers.
-- https://static.fsf.org/
On 10/30/20 10:11 AM, @lbutlr wrote:
So, I have the sieve working up to the point that it calls the script, and the
script is called (I get different errors if the script is not there, for
example).
filter action
execute program `darkmode.sh'
[[EXECUTION ABORTED]]
The
> On 30/10/2020 19:25 Bernd Petrovitsch wrote:
>
>
> On 30/10/2020 17:11, @lbutlr wrote:
> [...]
> > echo $1 | sed -e '||* {color:white !important;
> > background-color: black !important; } |'
>
> What should the sed stuff do?
> TTBOMK '|' is not known by sed ...
>
> MfG,
> Bernd
se
On Fri, 30 Oct 2020 at 20:12, @lbutlr wrote:
> So, I have the sieve working up to the point that it calls the script, and
> the script is called (I get different errors if the script is not there,
> for example).
>
> filter action
> execute program `darkmode.sh'
> [[EXECUTION ABORTED]]
>
> Th
On 30 Oct 2020, at 11:26, PGNet Dev wrote:
> wrong, or different, I can't say. if helpful, for my script executions, I
> successfully do
>
> require ["vnd.dovecot.pipe", "vnd.dovecot.filter",
> "vnd.dovecot.execute", "copy", "environment", "variables",
> "vnd.dovecot.debug", "vnd.doveco
On 30 Oct 2020, at 11:25, Bernd Petrovitsch wrote:
> On 30/10/2020 17:11, @lbutlr wrote:
> [...]
>> echo $1 | sed -e '||* {color:white !important;
>> background-color: black !important; } |'
>
> What should the sed stuff do?
Changes to * {color:white !important; background-color: black
!impor
On 30 Oct 2020, at 11:57, Aki Tuomi wrote:
> But I think the sed here is missing 's' from start, so this does not actually
> do anything...
Copy/paste/edit error. The s is there in the file.
darkmode.sh:
#!/bin/sh
echo $1 | sed -e 's||* {color:white !important; background-color:
black !importa
On Fri, Oct 30, 2020 at 11:34 AM @lbutlr wrote:
> On 30 Oct 2020, at 11:57, Aki Tuomi wrote:
> > But I think the sed here is missing 's' from start, so this does not
> actually do anything...
>
> Copy/paste/edit error. The s is there in the file.
>
> darkmode.sh:
> #!/bin/sh
> echo $1 | sed -e '
On Freitag, 30. Oktober 2020 18:11:46 CET @lbutlr wrote:
> echo $1 | sed -e '||* {color:white !important;
> background-color: black !important; } |'
echo $1 | sed -e 's||.* {color:white !important; background-
color: black !important; } |'
Perhaps?
> On 30/10/2020 20:34 @lbutlr wrote:
>
>
> On 30 Oct 2020, at 11:57, Aki Tuomi wrote:
> > But I think the sed here is missing 's' from start, so this does not
> > actually do anything...
>
> Copy/paste/edit error. The s is there in the file.
>
> darkmode.sh:
> #!/bin/sh
> echo $1 | sed -e
On 30 Oct 2020, at 12:34, @lbutlr wrote:
> I am not sure about the $1. I think filter just pipes the message (or part of
> the message.
>
> I will see what happens without the echo I suppose.
>
> Nope, still the same.
>
> 32: starting `:contains' match with `i;ascii-casemap' comparator:
>
> "@lbutlr" == @lbutlr writes:
@lbutlr> On 30 Oct 2020, at 12:34, @lbutlr wrote:
>> I am not sure about the $1. I think filter just pipes the message (or part
>> of the message.
>>
>> I will see what happens without the echo I suppose.
>>
>> Nope, still the same.
>>
>> 32: starting `:
On Fri, 2020-10-30 at 19:57 +0200, Aki Tuomi wrote:
> > On 30/10/2020 19:25 Bernd Petrovitsch wrote:
> >
> >
> > On 30/10/2020 17:11, @lbutlr wrote:
> > [...]
> > > echo $1 | sed -e '||* {color:white !important;
> > > background-color: black !important; } |'
> >
> > What should the sed stuff
On Fri, 2020-10-30 at 12:21 -0600, @lbutlr wrote:
> On 30 Oct 2020, at 11:25, Bernd Petrovitsch wrote:
> > On 30/10/2020 17:11, @lbutlr wrote:
> > [...]
> > > echo $1 | sed -e '||* {color:white !important;
> > > background-color: black !important; } |'
> >
> > What should the sed stuff do?
>
>
On 30 Oct 2020, at 14:41, Bernd Petrovitsch wrote:
> Perhaps try the script beforehand in a terminal:
I have. And I use | as delimiters all the time.
> snip
> {2}sed -e '|x|y|'
> sed: -e expression #1, char 1: unknown command: `|'
> snip
> So no, it's not.
Yes it is. As
16 matches
Mail list logo