Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!drivax!davison From: davison%drivax@uunet.uu.net (Wayne Davison) Newsgroups: news.software.nntp Subject: Re: expire enhancements Message-ID: Date: 2 Aug 90 20:30:40 GMT References: <948@lee.SEAS.UCLA.EDU> Sender: news@drivax.UUCP (news admin) Followup-To: news.software.nntp Organization: Digital Research, Monterey CA Lines: 23 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 ':' 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)