[Info-vax] Still no DIR/SORT_BY_TIME
hb
end.of at inter.net
Wed Aug 12 14:50:58 EDT 2015
On 08/12/2015 06:15 PM, Stephen Hoffman wrote:
> On 2015-08-12 14:42:05 +0000, David Froble said:
>
>> alanfeldman48 at gmail.com wrote:
>>> Just checked
>>> http://h30266.www3.hp.com/odl/axpos/opsys/vmsos84/9996/9996pro_63.html#blue_73
>>>
>>>
>>> Still can't sort directory listings by time.
>>
>> It's called "programming". Sometimes you have to do it yourself ..
>>
>> :-)
>
> $ product install gnv
> $ ls :== $gnv$gnu:[bin]ls
> $ ls -t
>
Looks easy. But it depends on what you want/expect or on which VMS date
is mapped to which Unix date ...
$ dir/date
Directory EISNER$DRA3:[DECUSERVE_USER.USER]
LOGIN.COM;1 24-JUN-2010 16:19:23.00
XDIR.COM;2 26-MAR-2015 16:58:11.07
XDIR.COM;1 9-JAN-2012 16:58:24.88
Total of 3 files.
$ ls :== $gnv$gnu:[bin]ls
$ ls -t1
login.com
xdir.com
$
$ ls -l
total 3
-rwx------ 1 USER 392 498 Aug 12 14:30 login.com
-rwx------ 1 USER 392 604 Aug 12 14:29 xdir.com
$ dir/date=mod
Directory EISNER$DRA3:[DECUSERVE_USER.USER]
LOGIN.COM;1 12-AUG-2015 14:30:54.42
XDIR.COM;2 12-AUG-2015 14:29:33.78
XDIR.COM;1 12-AUG-2015 14:26:42.87
Total of 3 files.
$
More information about the Info-vax
mailing list