* sorting by date/time with DIRECTORY or SORT command
@ 1998-02-24 5:00 splat
1998-02-25 5:00 ` joe huber
1998-03-06 5:00 ` Arthur E. Ragosta
0 siblings, 2 replies; 6+ messages in thread
From: splat @ 1998-02-24 5:00 UTC (permalink / raw)
Is there a utility out there that will allow me to get a DIRECTORY listing
sorted by date/time? Something like the UNIX shell ls -t option. No, I don't
have POSIX. I have looked around the various OpenVMS archives, but to no
avail.
I am also interested in DCL commands and SORT/MERGE specification files that
will allow me to manipulate records with a date/time key.
E-mail replies as well as follow-up to the discussion group would be very
much appreciated, as my ISP's news server is not very well synchronized with
the rest of USENET.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting by date/time with DIRECTORY or SORT command
1998-02-24 5:00 sorting by date/time with DIRECTORY or SORT command splat
@ 1998-02-25 5:00 ` joe huber
1998-03-06 5:00 ` Arthur E. Ragosta
1 sibling, 0 replies; 6+ messages in thread
From: joe huber @ 1998-02-25 5:00 UTC (permalink / raw)
splat@cfu-cybernet.net wrote in message <6cvet0$dt2$1@nnrp1.dejanews.com>...
>
>I am also interested in DCL commands and SORT/MERGE specification files
that
>will allow me to manipulate records with a date/time key.
Sorting a list of dates is strait forward enough. Supposing
a file containing a list of dates (something along the lines of):
01-JAN-1998
25-MAR-1945
05-SEP-1999
a specification file to do the trick would run as follows:
(order.srt)
/collating_sequence=(sequence=
"AN","EB","AR","PR","AY","UN","UL",
"UG","EP","CT","OV","EC","0"-"9"),
modification=(" "="0"),
fold)
/field=(name=year,pos:8,siz:4)\
/field=(name=month,pos:4,siz:3)
/field=(name=day,pos:1,siz:2)
/key=year
/key=month
/key=day
Assuming the above dates are in a file called dates.dat a
$ sort/spec=order.srt dates.dat sys$output
would list them in sorted order on your terminal.
// like a bird in a cage, spreading its wings to fly
// 'the old ways are lost' you sang as you flew
// and I wondered why
//
// The Old Ways (Loreena McKennitt)
//
// Joe Huber jhuber@monmouth.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting by date/time with DIRECTORY or SORT command
1998-02-24 5:00 sorting by date/time with DIRECTORY or SORT command splat
1998-02-25 5:00 ` joe huber
@ 1998-03-06 5:00 ` Arthur E. Ragosta
1998-03-07 5:00 ` Phillip Helbig
1 sibling, 1 reply; 6+ messages in thread
From: Arthur E. Ragosta @ 1998-03-06 5:00 UTC (permalink / raw)
To: splat
splat@cfu-cybernet.net wrote:
> Is there a utility out there that will allow me to get a DIRECTORY listing
> sorted by date/time? Something like the UNIX shell ls -t option. No, I don't
Check out SDIR on our web site:
http://afdd.arc.nasa.gov/afdd/rsd/autoteam.htm
it sorts by either date or size (and it even highlights directories!).
art r
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting by date/time with DIRECTORY or SORT command
1998-03-06 5:00 ` Arthur E. Ragosta
@ 1998-03-07 5:00 ` Phillip Helbig
1998-03-12 5:00 ` Simon McClenahan
0 siblings, 1 reply; 6+ messages in thread
From: Phillip Helbig @ 1998-03-07 5:00 UTC (permalink / raw)
In article <35005B28.39F4621@merlin.arc.nasa.gov>, "Arthur E. Ragosta"
<ragosta@merlin.arc.nasa.gov> writes:
> Check out SDIR on our web site:
>
> http://afdd.arc.nasa.gov/afdd/rsd/autoteam.htm
Got it, works fine---the .EXEm that is. Source compiles fine. Tried to
link the .OBJ---it needs to be linked against something else as well;
what would that be? Probably obvious, unless one doesn't use Fortran
for VMS-specific stuff.
--
Phillip Helbig Email .......... p.helbig@jb.man.ac.uk
Nuffield Radio Astronomy Laboratories Tel. ..... +44 1477 571 321 (ext. 297)
Jodrell Bank Fax ................. +44 1477 571 618
Macclesfield Telex ................. 36149 JODREL G
UK-Cheshire SK11 9DL Web .... http://www.jb.man.ac.uk/~pjh/
My opinions are not necessarily those of NRAL or the University of Manchester.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting by date/time with DIRECTORY or SORT command
1998-03-07 5:00 ` Phillip Helbig
@ 1998-03-12 5:00 ` Simon McClenahan
1998-03-12 5:00 ` Arthur E. Ragosta
0 siblings, 1 reply; 6+ messages in thread
From: Simon McClenahan @ 1998-03-12 5:00 UTC (permalink / raw)
I can't get it to run on VAX/VMS 7.1, and I don't have a Fortran compiler
%DCL-W-ACTIMAGE, error activating image SDIR
-CLI-E-IMGNAME, image file $2$DUA1:[USER.][SVMCCLEN.SDIR]SDIR.EXE;1
-IMGACT-F-NOTVAXIMG, image is not an OpenVMS VAX image
Can someone compile it for me?
Phillip Helbig wrote in message <6dqs38$dfc$1@probity.mcc.ac.uk>...
>In article <35005B28.39F4621@merlin.arc.nasa.gov>, "Arthur E. Ragosta"
><ragosta@merlin.arc.nasa.gov> writes:
>
>> Check out SDIR on our web site:
>>
>> http://afdd.arc.nasa.gov/afdd/rsd/autoteam.htm
>
>Got it, works fine---the .EXEm that is. Source compiles fine. Tried to
>link the .OBJ---it needs to be linked against something else as well;
>what would that be? Probably obvious, unless one doesn't use Fortran
>for VMS-specific stuff.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting by date/time with DIRECTORY or SORT command
1998-03-12 5:00 ` Simon McClenahan
@ 1998-03-12 5:00 ` Arthur E. Ragosta
0 siblings, 0 replies; 6+ messages in thread
From: Arthur E. Ragosta @ 1998-03-12 5:00 UTC (permalink / raw)
Simon McClenahan wrote:
> I can't get it to run on VAX/VMS 7.1, and I don't have a Fortran compiler
>
> %DCL-W-ACTIMAGE, error activating image SDIR
> -CLI-E-IMGNAME, image file $2$DUA1:[USER.][SVMCCLEN.SDIR]SDIR.EXE;1
> -IMGACT-F-NOTVAXIMG, image is not an OpenVMS VAX image
>
> Can someone compile it for me?
>
> Phillip Helbig wrote in message <6dqs38$dfc$1@probity.mcc.ac.uk>...
> >In article <35005B28.39F4621@merlin.arc.nasa.gov>, "Arthur E. Ragosta"
> ><ragosta@merlin.arc.nasa.gov> writes:
> >
> >> Check out SDIR on our web site:
> >>
> >> http://afdd.arc.nasa.gov/afdd/rsd/autoteam.htm
> >
> >Got it, works fine---the .EXEm that is. Source compiles fine. Tried to
> >link the .OBJ---it needs to be linked against something else as well;
> >what would that be? Probably obvious, unless one doesn't use Fortran
> >for VMS-specific stuff.
Simon,
I will ask my programmer to add the VAX .EXE to the ZIP file. Please check
in a day
or so. Also, please check your EMail system. Trying to respond to you I got
the mail
bounced for what looks like a problem with Groupwise configuration or
forwarding.
art
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-03-12 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-24 5:00 sorting by date/time with DIRECTORY or SORT command splat
1998-02-25 5:00 ` joe huber
1998-03-06 5:00 ` Arthur E. Ragosta
1998-03-07 5:00 ` Phillip Helbig
1998-03-12 5:00 ` Simon McClenahan
1998-03-12 5:00 ` Arthur E. Ragosta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox