Linux has returned 6 fields and Windows 5 for some time.

Looking at xd.c, the 6th field is this :
  Return mode_t formatted into 11-character buffer

Field 4 seems to be the owning directory information.

Cheers,
David

On 9/14/2020 03:34, ethiejiesa via Programming wrote:
Right now, NuVoc documents that the rows returned by (1!:0) have 5 fields, but
I am seeing 6 in my version and platform:

        1!:0 '.'
     ┌─┬──────────────────┬───┬───┬──────┬──────────┐
     │.│2019 9 14 10 51 16│264│rwx│-h--d-│drwxr-xr-x│
     └─┴──────────────────┴───┴───┴──────┴──────────┘

        JVERSION
     Engine: j901-f/j64/linux
     Release: GPL3/2020-08-04T13:27:14
     Library: 9.01.24
     Platform: Linux 64
     Installer: unknown
     InstallPath: /usr/share/j
     Contact: voidlinux.org

Would like to update the wiki, so could someone confirm what the 6th field is?

The 6th fields looks like what you see with `stat --format=%A', i.e. a
effectively a stat(2) syscall on linux. However, how do the "permissions" of
field 4 relate to this? Also, what does the 6th field look like for Windows
users?

Cheers!
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to