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

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

[Octave-bug-tracker] [bug #39357] "dir" function return empty names


From: anonymous
Subject: [Octave-bug-tracker] [bug #39357] "dir" function return empty names
Date: Fri, 28 Jun 2013 13:53:02 +0000
User-agent: Opera/9.80 (X11; Linux i686) Presto/2.12.388 Version/12.15

URL:
  <http://savannah.gnu.org/bugs/?39357>

                 Summary: "dir" function return empty names
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 28 Jun 2013 01:53:00 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Georg Stillfried
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The "dir" function is supposed to list the files within a directory. It seems
to find the files, and to properly store the other attributes like date into a
variable. However, the stored or displayed *names* are empty.

Example:
+verbose+
octave:82> ls
Test1_Ikine_two_ortho_axes.m
octave:83> dir

octave:84> a = dir
a =

  3x1 struct array containing the fields:

    name
    date
    bytes
    isdir
    datenum
    statinfo

octave:85> a.name
ans =
ans =
ans =
octave:86> a.date
ans = 28-Jun-2013 11:55:09
ans = 28-Jun-2013 11:54:54
ans = 28-Jun-2013 12:08:07
-verbose-






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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