Hi Jon,

> It may very well be that 'cat' cannot handle an URL, but when I try this:
> (doc '+ "echo")
> then I get this:
> file:doc/ref_.html#+

Yes, that's right. 'echo' doesn't try to open its argument(s), but sends
them to stdout.


> It still seems to me that this path is more relative than absolute.

As for all files in PicoLisp, this depends on how the interpreter is
invoked. I have global and local installations here. So if I try the
global one,

   $ pil +
   : (doc '+ "echo")
   file:///usr/lib/picolisp/doc/ref_.html#+
   -> T

or a local installation with relative

   $ ./pil +
   : (doc '+ "echo")
   file:doc/ref_.html#+
   -> T

or global pathes

   $ /usr/abu/pico/pil +
   : (doc '+ "echo")
   file:///usr/abu/pico/doc/ref_.html#+
   -> T

I always get the correct path.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to