filesep extension
Michael Goffioul
michael.goffioul at gmail.com
Tue Nov 11 08:51:42 CST 2008
Hi,
I noticed a problem in fileparts tests: some tests uses forward slash,
while fileparts uses filesep, which is the backward slash under Windows.
This makes most tests to fail.
To solve that, I thought about extending filesep behavior and make it
return all file separators when 'all' is given as argument. See the attached
changeset (OK to apply?). However, now I'd like to modify fileparts.m,
but I'm not sure about the most efficient way to implement find_last_of
functionality in ocave. Any idea?
Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filesep_extend
Type: application/octet-stream
Size: 1598 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20081111/c1cd2cf7/attachment.obj
More information about the Octave-maintainers
mailing list