octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50504] dir() function should include a "folde


From: Rik
Subject: [Octave-bug-tracker] [bug #50504] dir() function should include a "folder" entry for each file
Date: Thu, 9 Mar 2017 15:19:31 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #1, bug #50504 (project octave):

To support this I need a little bit more information on how Matlab behaves.

If someone can make the following test set of directories and files and then
run the test code I would appreciate it.

Test structure


dir1/
  |--file1.txt

dir2/
  |--file2.txt


Test code


x = dir ('dir*/*.txt')
x.folder
x.name


I'm interested in whether the folder is just the directory name of the current
directory, or whether it is the full absolute path.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50504>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]