Path: utzoo!utgpu!watmath!looking!brad From: brad@looking.on.ca (Brad Templeton) Newsgroups: uw.unix Subject: Re: Catching up on News (toolsmith's solution) Message-ID: <12384@looking.on.ca> Date: 13 Sep 89 00:19:14 GMT References: <16326@watdragon.waterloo.edu> <29052@watmath.waterloo.edu> <16340@watdragon.waterloo.edu> <29094@watmath.waterloo.edu> Reply-To: brad@looking.on.ca (Brad Templeton) Organization: Looking Glass Software Ltd. Lines: 21 Class: information, original Actually, you might want to check out our "mknewsrc" program. It's in my newsclip directory (~bstempleton/clip) on watmath. It will create a .newsrc for you that has every current article unread, but it has a "p=" option to specify a percentage. mknewsrc +n p=100 - outputs a .newsrc with the same groups as your .newsrc with 100% of articles unread mknewsrc +n p=0 - does what you want, with all article marked read mknewsrc +n p=10 - gives you the last 10% of articles in each group Skip the +n and it gives you all groups in the active file. Provide patterns and you will only get groups that match the regular expressions. output is to stdout. Wiht +n it's probably not safe to write to your .newsrc directly. -- Brad Templeton, Looking Glass Software Ltd. -- Waterloo, Ontario 519/884-7473