Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!uwvax!husc6!harvard!adelie!walrus!barry From: barry@walrus.UUCP Newsgroups: news.software.b Subject: Resending news using history file... Message-ID: <437@walrus.Adelie.COM> Date: Sun, 25-Jan-87 09:55:08 EST Article-I.D.: walrus.437 Posted: Sun Jan 25 09:55:08 1987 Date-Received: Mon, 26-Jan-87 01:45:03 EST Reply-To: barry@walrus.Adelie.COM (Barry A. Burke) Distribution: world Organization: Adelie Corporation, Cambridge MA (Framingham Branch) Lines: 25 Does anyone have a shell script that will re-que news articles using the history file? From time to time it is necessary for me to re-send the last couple of days' worth of news to one of my leaf sites. Typically, I'll run a simple find(1) on the /usr/spool/news directory, sending all files modified within the last `n' days. However, this is blatantly inefficient, as cross-posted articles are thus sent multiple times (only to be dropped as duplicates on the receiving end). A script that walked the history file pulling out the article pathnames for the past "n" days and sticking those back into /usr/spool/batch/ would be much more efficient, and I think a quite useful addition to the news 2.11 distribution. If anyone has one of these, please send me a copy--I'll post the best (first?) to this newsgroup (so's to avoid the inevitable multiple posting). If I don't get one Within A Reasonable Time, I'll write one myself (I promise ;-). Thanks! -- LIVE: Barry A. Burke, ``working'' at home UUCP: barry@walrus.Adelie.COM | {harvard | ll-xn | mirror}!adelie!walrus!barry ARPA: barry%adelie@harvard.HARVARD.EDU