HP3000-L Archives

November 1996, 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:
Jeff Vance <[log in to unmask]>
Reply To:
Jeff Vance <[log in to unmask]>
Date:
Wed, 27 Nov 1996 22:38:30 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
On Nov 27,  4:22pm, Stigers, Gregory - ANDOVER wrote:
> Subject: FW: Here's a challenge...
> I asked a good friend who loves UNIX if the POSIX shell could help me
> delete any spool files over one week old.
...

(let's see I have no financial gain so no <plug> needed :) )
My SPOOK command file (in CSL and on jazz) does this:

:spook
SPOOK/iX Emulator  Version 4.2
Enter 'help new' to see the new features for this version.
spook(1): p @;daysold>=7
       spoolf @ ;SELEQ=[((OWNER=@)) AND DATE<=11/20/1996];SHOW ;DELETE
               spoolf @ ;SELEQ=[((OWNER=@)) AND DATE<=11/20/1996];SHOW ;DELETE
No qualified spoolfile(s). (CIWARN 4809)
spook(2):exit

You see above the simple SPOOK command I entered (p @;daysold>7) and the
derived SPOOLF command.  I'd be happy to get you a copy if you can't get
SPOOK from jazz.

regards,
Jeff Vance, CSY

--

ATOM RSS1 RSS2