Displaying 3 results from an estimated 3 matches for "anorther".
Did you mean:
anoother
2020 Oct 30
0
Sieve filter script EXECUTION FAILED
...: unknown command: `|'
---- snip ----
So no, it's not.
You actually wanted:
---- snip ----
echo $1 | sed -e 's|</head>|<style>* {color:white !important; background-color: black !important; } </style></head>|'
---- snip ----
Or just use bash (and avoid anorther fork()+exec()):
---- snip ----
#!/bin/bash --norc
echo ${1/<\/head>/<style>* {color:white !important; background-color: black !important; } <\/style><\/head>}'
---- snip ----
Caveat emptor: Untested!
I know all that stuff about sed (GNU-sed and other sed's ..) ....
2020 Oct 30
2
Sieve filter script EXECUTION FAILED
On 30 Oct 2020, at 11:25, Bernd Petrovitsch <bernd at petrovitsch.priv.at> wrote:
> On 30/10/2020 17:11, @lbutlr wrote:
> [...]
>> echo $1 | sed -e '|</head>|<style>* {color:white !important; background-color: black !important; } </style></head>|'
>
> What should the sed stuff do?
Changes </head> to <style>* {color:white
2008 Dec 26
3
Problem: no such extension 'xx' in context 'default'
Hi Guys,
I am not so familiar with asterisk and hope to get help here. I am having now some stupid errors. My goal for the first, is to create a simple pbx with different context.
As long as I use only the contex 'default' everything seems to work perfect. Now I tried to add another context i.e 'internal' and the asterisk is complaining
for not finding the required extension in