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

Reply via email to