On 04/05/10 02:01, Michael Lachmann wrote:
>
> On 5 Apr 2010, at 1:04, David Frascone wrote:
>
>> That's two seperate problems:
>>
>> 1) not properly quoting the URL so that the hash is interpreted as a
>> comment
>
> That is not actually the only problem here. The problem is that
> open 'file:/somewhere/commands.html#complete'
> complains that there is no file called /somewhere/
> commands.html#complete (which is right...)
> I have not found a way to tell the program open to open an html page
> and go a particular section....

On Linux, 'open' is a fish function which essentially calls 'xdg-open'. 
  xdg-open takes either a filepath or a URL.  Therefore,

/path/to/file#section
fails because it means a file named "file#section"

but
file:///path/to/file#section
succeeds (because, per URL standards, it means "section" within a file 
named "file"; if you meant a file with a # in its actual name, you'd 
percent-encode that # symbol).

Mac OS X 'open' is probably different (there's a native 'open' in the 
shell, and I'm not sure if fish overrides it, etc...)

-Isaac

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to