HP3000-L Archives

October 2002, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Tue, 29 Oct 2002 16:36:02 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Maybe I'm missing something, but couldn't you use the PRINT command to omit
the last three file names, as in:

:listf @.group,6 > flist1
:print flist1;page=0;start=1;end=-4 > flist2

which would copy all but the last three records of flist1 to flist2.

John

At 2002-10-29 01:00 PM, Johnson, Tracy wrote:
>Larry Barnes came up with a winning solution, the command assumes
>you have CHGROUPed to the group to the files are:
>
>Larry wrote:
>Since you have MPEX, and since you want to just delete the last 3 files in a
>listing; presumable because they are the oldest files based on your example,
>try this:
>
>run main.pub.vesoft,mpex
>   LISTF TR######,6;nopagehead;nototals > listf6
>   setlvar end veftempinfo('listf6').eof -3
>   print listf6;end=!end > prg
>   listf ^prg,2
>   yespurge ^prg
>
>
>BT
>NNNN
>Tracy Johnson
>MSI Schaevitz Sensors
>
> >
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2