difference between path / pathdef

John W. Eaton jwe at bevo.che.wisc.edu
Tue Jan 15 20:39:57 CST 2008


On 15-Jan-2008, Ben Abbott wrote:

|    [1,2] =   path ('.:/sw/share/...
| ...
| .../m/time');

I haven't looked at the way __extractpath__ works, but it seems that
it would be fairly easy to have it simply return what is between the
single quotes as a character string, then you could just write

  path (__extractpath__ (user_octaverc));

In any case, I don't see why __extractpath__ should return everything
including the comments in a cell array with one line per cell.

jwe


More information about the Octave-maintainers mailing list