From: MERC::"uunet!CRVAX.SRI.COM!RELAY-INFO-VAX" 9-JUL-1992 04:39:47.08 To: info-vax@kl.sri.com CC: Subj: Re: Utility for chronological directory in DCL? In article <1992Jul7.163045.3240@usenet.ins.cwru.edu> bc994@cleveland.Freenet.Edu (Naseer M. Khan) writes: > Hi all, > I am looking for a DCL utility that would produce a file > directory in chronological order, something akin to the "ls -lt" command > in Unix. I have tried the SORT command already but I run into trouble > trying to sort the month field. Why the heck didn't they put the month > names in alphabetical order anyways...???!!! > Any help will be greatly appreciated. Thank you, in advance. > (I have tried to see if any of the FAQ and archives have this but to no > avail....) The sort utility can sort in month order, if you use /specfile=seq.srt. Where seq.srt is a file containing: /collating_sequence=(sequence=("AN","EB","AR","PR","AY","UN","UL,"UG", "EP","CT","OV","EC"," ","~"),FOLD) If you haven't guessed, the uper case chars in quotes are the last two characters of each month. -- DISCLAIMER: I, hereby, disclaim any disclaimer except this disclaimer. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ | David Rackley | Now comes the really weird part...You know | | Applied Research Laboratories | the part where I know how to tap dance, but | | The University of Texas | only while wearing golf shoes... | | Austin, TX. 78758 | ...Ponderous, man, really ponderous! | | Tel: 512-835-3120 | | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+