Subject: | |
From: | |
Reply To: | |
Date: | Wed, 27 Nov 1996 22:38:30 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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
--
|
|
|