home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
network
/
dumpgrp
/
expire.doc
< prev
next >
Wrap
Text File
|
1993-09-07
|
2KB
|
39 lines
Expire 0.1
This is a utility for use with DumpGrp to discard messages older than a
given age. An example of it's use is given in GETTER.CMD.
N.B.: for this utility to function properly, the -r (receive header)
option must be passed to DumpGrp.
The usage is:
EXPIRE [-snn] [-l<separator>] [-d] <infile> <outfile>
-snn specifies article lifespan in days, default = 5
<separator> is the line that divides articles, as in
DumpGrp. The default is a line of asterisks.
-d enables debug output.
For example, consider the following two commands:
DUMPGRP -snntp.bogus.com -a -r -l---MY-MESSAGE-SEPARATOR-LINE---
EXPIRE -d -s10 -l---MY-MESSAGE-SEPARATOR-LINE--- cbos2 cbos2.exp
with the following in DUMPGRP.CFG:
comp.binaries.os2 cbos2 0
After running this set of commands regularly for several days, the file
CBOS2 will contain all the messages that have come over the
comp.binaries.os2 newsgroup. The file cbos2.exp, however, will only
contain those messages which were received within the last ten days.
Note that the -r para,eter must be passed to DumpGrp, and that DumpGrp
and EXPIRE must have the same -l parameter in order to work properly.
This utility is Copyright 1993 by Kevin Vigor, but is free and may be
freely distributed.
Report any errors to kevin@elvis.wicat.com or 72500.3705@compuserve.com.
The latest version of this and related utilities is available via
anonymous ftp from elvis.wicat.com.