Bash issue

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Fri Jul 30 23:28:47 UTC 2004


On Fri, Jul 30, 2004 at 06:57:54PM -0400, Gilles Fourchet wrote:
> William Park wrote:
> 
> >Well, the fact that you got
> >   Usage: mozilla-xremote-client ...
> >means that it called 'mozilla-xremote-client', as it should.  So, the
> >problem, if any, is somewhere else.
> > 
> >
> I agree.  It seems that when I add the "-a firefox" in the variable,
> it is not well treated by the shell.

Everything works here, as expected.

    firefox &
    /usr/local/firefox/mozilla-xremote-client "openURL(http://kernel.org/, new-tab)"
    /usr/local/firefox/mozilla-xremote-client "openFile(file:///etc/, new-tab)"

Try a simple script for start, eg.

    TARGET=/usr/share/firefox_0.9.1/firefox
    REMOTE=/usr/local/firefox/mozilla-xremote-client

    if ! $REMOTE "openURL($1, new-tab)"; then
	$TARGET "$1" &
    done

-- 
William Park, Open Geometry Consulting, <opengeometry at yahoo.ca>
Toronto, Ontario, Canada
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list