Bash issue
Gilles Fourchet
gilles.fourchet-zzOxFVvAfJPQT0dZR+AlfA at public.gmane.org
Sat Jul 31 15:49:03 UTC 2004
Thanks William,
I have solved my problem (although I still do not understand what happened).
Actually, as I was restarting the script from scratch, I have
incorporated everything of the old script but now it is working. I do
not understand since the two files seems to be the same besides some
cosmetic differences (some blank lines in the new one that are not in
the old one). I guess I will have to strengthened my knowledge of Bash.
Thanks for your help anyway.
Gilles
William Park wrote:
>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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20040731/48f6d180/attachment.html>
More information about the Legacy
mailing list