I would like to open a URL in an already-running Firefox browser on my Mac (OSX 10.8.5).
Normally I would use: open -a firefox "$URL"
However, the /usr/bin/open command doesn't recognize the URL I am opening as a valid URL, and prepends file://... to it.
The command-line help for /Applications/Firefox.app/Contents/MacOS/firefox says it will accept a URL, and various online sources suggest that -new-tab or -remote options should work, but lots of people apparently are finding that these things do not work under OSX. I am one of those people.
So, any idea how to get this to work?