<div dir="ltr"><div>    #!/bin/bash</div><div><br></div><div>    curl -o /home/william/qutetemp/oldfile ${QUTE_URL}</div><div><br></div><div>    sed 's:bash:fish:g' /home/william/qutetemp/oldfile > /home/william/qutetemp/newfile</div><div><br></div><div>    echo "open file://home/william/qutetemp/newfile" >> "$QUTE_FIFO"</div><div><br></div><div><br></div><div>i'm trying to download the current page, filter words, and then open the edited page in the current tab.</div><div>where it fails is on the third step, this is the error message:<br></div><div><br></div><div><h1 style="margin:0px 0px 10px;padding:0px;font-weight:normal;color:rgb(30,137,198);font-family:'helvetica neue',helvetica,arial,sans-serif">Unable to load page</h1><span style="color:rgb(85,85,85);font-family:'helvetica neue',helvetica,arial,sans-serif;font-size:19px">Error while opening file://home/william/qutetemp/newfile: </span><br style="margin:0px;padding:0px;color:rgb(85,85,85);font-family:'helvetica neue',helvetica,arial,sans-serif;font-size:19px"><p id="error-message-text" style="margin:0px;padding:0px;font-family:'helvetica neue',helvetica,arial,sans-serif;font-size:19px;color:rgb(163,26,26)">Request for opening non-local file file://home/william/qutetemp/newfile</p><p id="error-message-text" style="margin:0px;padding:0px;font-family:'helvetica neue',helvetica,arial,sans-serif;font-size:19px;color:rgb(163,26,26)"><br></p><p id="error-message-text" style="margin:0px;padding:0px;font-family:'helvetica neue',helvetica,arial,sans-serif"><font color="#444444">but i don't understand why it says it's a non local file; it's definitely on my drive. could it be the "file://"?</font></p><p id="error-message-text" style="margin:0px;padding:0px;font-family:'helvetica neue',helvetica,arial,sans-serif"><font color="#444444">but when i run it as</font><font color="#000000"> "/home/william/qutetemp/newfile" it tries to download the file. </font></p><p id="error-message-text" style="margin:0px;padding:0px;font-family:'helvetica neue',helvetica,arial,sans-serif"><font color="#000000">so it seems to succeed on the first step but sed may be making an unreadable file.</font></p><p id="error-message-text" style="margin:0px;padding:0px;font-family:'helvetica neue',helvetica,arial,sans-serif"><font color="#000000">or perhaps line 7 is somehow wrong.</font></p><p id="error-message-text" style="margin:0px;padding:0px;font-family:'helvetica neue',helvetica,arial,sans-serif"><font color="#000000"><br></font></p><p id="error-message-text" style="margin:0px;padding:0px;font-family:'helvetica neue',helvetica,arial,sans-serif"><font color="#000000">and when/if this works how do i run it? i intend to have it run on every page load but i'm not sure how to accomplish that.</font></p></div></div>