Auto-close or overwrite browser tabs opened thru command line
<p>I have a shell script producing a html page. It then opens it in a webbrowser, using the simple syntax</p>

<pre><code>opera result.html
</code></pre>

<p>However, if I run this script several times, I get as many tabs/windows as runs. I tried to load another page containing a script that opens 'result.html' into a definite target-window, but this script page will not close using window.close() or self.close() [presumably because it was not opened by a javascript...], so it's the script page that is repeated...</p>

<p>Is there a way, either to have a webbrowser open a file into a target using the commandline, or to auto-close a window that was opened thru command line?</p>
