This command file can be used to sort the output of a directory command in a manner similar to the Unix ls -ltr command.
Example of using the NFSDIR command file
vxcrna:/cernlib > @cern:[new.mgr]nfsdir cern:[new.src.car]kern*.car Total of 40 files, 9383/9383 blocks. Directory CERN:[NEW.SRC.CAR] KERNCDC.CAR;1 800/800 7-SEP-1988 20:33:44.00 KERNHYW.CAR;1 91/91 21-DEC-1989 12:41:02.00 KERNUNI.CAR;1 574/574 21-DEC-1989 12:41:45.00 KERNNOR.CAR;1 146/146 21-DEC-1989 16:03:21.00 KERNTMO.CAR;1 35/35 21-DEC-1989 16:03:41.00 KERNPDP.CAR;1 257/257 3-MAY-1990 02:24:10.00 KERNDGE.CAR;1 63/63 3-MAY-1990 02:24:26.00 KERNAMX.CAR;1 10/10 11-JUL-1991 04:38:43.00 KERNCVX.CAR;1 119/119 16-AUG-1991 16:08:48.00 KERNALI.CAR;1 23/23 7-OCT-1991 22:29:35.00 KERNHPX.CAR;1 14/14 22-MAY-1992 16:49:29.00 KERNIBX.CAR;1 326/326 22-MAY-1992 16:49:31.00 KERNA10.CAR;1 159/159 6-OCT-1992 12:02:09.00 KERNAPO.CAR;1 159/159 6-OCT-1992 12:02:09.00 KERNMPW.CAR;1 21/21 9-OCT-1992 01:55:41.00 KERNCRY.CAR;1 117/117 20-OCT-1992 18:29:12.00 KERNCRU.CAR;1 117/117 20-OCT-1992 18:29:12.00 KERNSGI.CAR;1 13/13 20-JAN-1993 12:39:13.00 KERNNXT.CAR;1 31/31 29-JAN-1993 12:02:29.00 KERNIBM.CAR;1 653/653 10-FEB-1993 00:38:04.00 KERNCMS.CAR;1 402/402 27-FEB-1993 02:24:52.00 KERNOS9.CAR;1 14/14 4-MAY-1993 21:35:21.00 KERNALT.CAR;1 61/61 4-JUN-1993 17:38:26.00 KERNDEC.CAR;1 38/38 4-JUN-1993 17:38:27.00 KERNOSF.CAR;1 38/38 4-JUN-1993 17:38:27.00 KERNVMI.CAR;1 38/38 4-JUN-1993 17:38:27.00 KERNDOS.CAR;1 153/153 23-JUL-1993 20:55:15.00 KERNGEN.CAR;1 4/4 12-AUG-1993 11:41:41.00 KERNNUM.CAR;1 1834/1834 25-AUG-1993 18:47:04.00 KERNNUMT.CAR;1 631/631 25-AUG-1993 18:48:28.00 KERNLNX.CAR;1 56/56 6-SEP-1993 15:34:22.00 KERNVAX.CAR;1 385/385 10-NOV-1993 10:09:46.33 KERNSOL.CAR;1 1/1 14-JAN-1994 15:48:56.77 KERNSUN.CAR;1 1/1 14-JAN-1994 15:48:56.77 KERNIRS.CAR;1 56/56 17-JAN-1994 17:16:11.98 KERNIRT.CAR;1 56/56 17-JAN-1994 17:16:11.98 KERNBIT.CAR;1 637/637 18-JAN-1994 18:43:03.85 KERNFOR.CAR;1 929/929 21-JAN-1994 19:56:29.15 KERNGENT.CAR;1 308/308 21-JAN-1994 19:57:34.87