On 30 Oct 2020, at 14:41, Bernd Petrovitsch <be...@petrovitsch.priv.at> 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 I said in another post the 's' was lost either in copy/paste or 
possibly in editing,

The shell script works from the command line.

$ echo "</head>" | ./darkmode.sh
<style>* {color:white !important; background-color: black !important; } 
</style></head>


-- 
Well, we know where we're goin' But we don't know where we've been
        And we know what we're knowin' But we can't say what we've seen

Reply via email to