[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
filesep extension
From: |
Michael Goffioul |
Subject: |
filesep extension |
Date: |
Tue, 11 Nov 2008 14:51:42 +0000 |
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.
filesep_extend
Description: Binary data
- filesep extension,
Michael Goffioul <=
- filesep extension, John W. Eaton, 2008/11/11
- Re: filesep extension, Jaroslav Hajek, 2008/11/11
- Re: filesep extension, Michael Goffioul, 2008/11/12
- Re: filesep extension, Jaroslav Hajek, 2008/11/12
- Re: filesep extension, Michael Goffioul, 2008/11/12
- Re: filesep extension, Jaroslav Hajek, 2008/11/12