🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #625

Re: expire enhancements

#625
From: Wayne Davison
Date: Thu, 02 Aug 1990 20:30
24 lines
1889 bytes
heather@babbage.seas.ucla.edu (Heather Burris/) wrote:
> Have any of you enhanced expire to accept different expiration periods
> for different news categories on the same command line?

Yes, before I switched to C news last year, I modified the B news expire
to accept the following syntax:

	expire -E 15 -e 15 -n junk:1,talk:7,soc:7,comp.sys.ibm.pc:3,all

which allows you to specify a global expire time (15) and override it on
an individual group basis with the ':<days>' syntax.  The patch was very
simple, since all that had to be done was to modify the news-group match
code to set the expire time to the indicated value if present, otherwise
set it to the command-line specified value (which was saved in a special
variable).  I tested the patch and sent it out to the twelve people that
requested it when I offered it to the public.  I no longer have the code
here, but I still have the names of the twelve people that got the patch
a year ago March.  I can contact them and then get back to you if you're
interested.
-- 
Wayne Davison            \  /| / /|\/ /| /(_)     davison%drivax@uunet.uu.net
davison@drivax.UUCP     (_)/ |/ /\|/ / |/  \         ...!uunet!drivax!davison
                           (W   A  Y   N   e)
Technical Details
Message-ID: <VNGNFMW@drivax.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!drivax!davison
References: <948@lee.SEAS.UCLA.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <VNGNFMW@drivax.UUCP>
Subject: Re: expire enhancements
Date: Thu, 02 Aug 1990 20:30:40 +0000
From: davison%drivax@uunet.uu.net (Wayne Davison)
References: <948@lee.SEAS.UCLA.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!drivax!davison
Newsgroups: news.software.nntp
Sender: news@drivax.UUCP (news admin)
Followup-To: news.software.nntp
Organization: Digital Research, Monterey CA
Lines: 23