[Jprogramming] 1!:0 (Directory)
Eric Iverson
eric.b.iverson at gmail.com
Thu Nov 3 08:20:21 HKT 2011
I'll add this to our list of bugs to investigate and fix for 702.
On Wed, Nov 2, 2011 at 7:32 PM, Joey K Tuttle <jkt at qued.com> wrote:
> In the dictionary, 1!:0 has the note:
>
> "Directory. y is a string of the path search expression (a boxed string
> is also accepted); the result is a 5-column table of the file name,
> modification time, size, permission, and attributes, individually boxed.
> For example, try 1!:0 '*.*'. The permission and attribute columns are
> system dependent.
>
> In Linux the last "use time" is in the result, rather than the last
> "modification time". I do note that in Darwin/OSX, the modification time
> is indeed in the second column. I think the modification time is much
> more useful than the last use time (and is what the documentation
> promises).
>
> This seems like a bug in the Linux version of 1!:0 -- well, to be more
> specific, a bug in Linux J versions 7.01, 6.02, and 5.04. In release
> 4.05, the modification time is reported correctly. Perhaps it has gone
> unreported for a few years....
>
> - joey
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list