Re: giving a URL to safari
Re: giving a URL to safari
- Subject: Re: giving a URL to safari
- From: Eugene Lee <email@hidden>
- Date: Mon, 30 Jun 2003 03:05:09 -0500
- Mail-followup-to: email@hidden
On Mon, Jun 30, 2003 at 12:57:04AM -0500, Elwood C. Downey wrote:
:
: Wow, that was easy. Thanks! I see open is an oldie, man says it's from
: NextStep. One little bug I think though, it does not seem to allow
: anchors on local files. For example, with apache running locally the
: following opens the given file and scrolls to the given anchor just
: fine:
:
: open "http://localhost/3.6man/xephem.html#SkyView"
:
: and the following opens the same document too but just stays at the top:
:
: open "file:///Library/Documents/3.6man/xephem.html#SkyView"
:
: I notice that in the first case safari's URL line includes the #SkyView
: but it is missing in the second. I guess open stripped it off?
Nope. It's a shell issue. Use single quotes instead, like so:
open 'http://localhost/3.6man/xephem.html#SkyView'
open 'file:///Library/Documents/3.6man/xephem.html#SkyView'
--
Eugene Lee
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.