<<< Date Index >>>     <<< Thread Index >>>

Re: urlview - open firefox tab



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, February 26 at 07:32 PM, quoth Joseph:
> firefox -remote openURL\(www.mutt.org,new-tab\)
> Error: Failed to send command: 500 command not parseable

Hmmm, so, perhaps openURL requires the http:// in front?

> but:
> firefox -remote 'openURL(http://www.mutt.org,new-tab)'
> works

That's good!

> firefox -remote openURL('http://www.cskk.ezoshosting.com/cs/',new-tab)...
> sh: -c: line 0: syntax error near unexpected token `('

Well, sure - bare parentheses mean something to your shell. That's why 
you have to put the backslashes in front of them. It's got nothing to 
do with the single quotes inside. You could do this:

firefox -remote 
'openURL('http://www.cskk.ezohosting.com/cs/',new-tab)'

and that should work just fine too (though for a slightly different 
reason).

~Kyle
- -- 
The surest way to corrupt a youth is to instruct him to hold in higher 
regard those who think alike than those who think differently.
                                                           -- Nietzsche
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkmnZcEACgkQBkIOoMqOI16e3gCfQCZhTZIRVCI5Id35171cdpHy
298An2aVbTjWAyNHRrbXMygTKpAPy8Vj
=7dt5
-----END PGP SIGNATURE-----