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

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

[Octave-bug-tracker] [bug #59689] dir command


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #59689] dir command
Date: Tue, 15 Dec 2020 09:01:30 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #2, bug #59689 (project octave):

I am not the OP, but I think his point is that list.folder 
should not contain the file name. I.e.:


octave:1> x = dir("rotate3d.m")
x =

  scalar structure containing the fields:

    name = rotate3d.m
    folder = /home/dima/src/octave/scripts/plot/util/rotate3d.m
    date = 02-Sep-2020 08:35:32
    bytes = 3292
    isdir = 0
    datenum = 7.3804e+05
    statinfo =

      scalar structure containing the fields:

        dev = 66306
        ino = 2.8317e+07
        mode = 33204
        modestr = -rw-rw-r-- 
        nlink = 1
        uid = 1001
        gid = 1001
        rdev = 0
        size = 3292
        atime = 1.6080e+09
        mtime = 1.5991e+09
        ctime = 1.5999e+09
        blksize = 4096
        blocks = 8



The expectation here is that 

folder = /home/dima/src/octave/scripts/plot/util

I do not know WWMD and reading docs does not make it clear to me.

Dmitri.
-- 




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59689>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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