From bug-octave-request at bevo dot che dot wisc dot edu Fri Feb 20 13:39:40 2004 Subject: imshow, fileparts, moment From: "John W. Eaton" To: stefan at sun dot ac dot za Cc: bug-octave at bevo dot che dot wisc dot edu Date: Fri, 20 Feb 2004 13:38:53 -0600 On 20-Feb-2004, stefan at sun dot ac dot za wrote: | fileparts only parses files with extentions | ------------------------------------------- | | This prevents it from parsings paths like '/tmp/blah' or | '/tmp/blah/*'. This problem seems to be fixed in the current CVS sources: octave:3> [dir,name, ext, ver] = fileparts ("/tmp/blah") dir = /tmp name = blah ext = ver = octave:4> [dir,name, ext, ver] = fileparts ("/tmp/blah/*") dir = /tmp/blah name = * ext = ver = jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------