[net.micro.mac] Automated shell program to save news.

smh@mhuxl.UUCP (henning) (01/09/86)

****                                                                 ****
From the keys of Steve Henning, AT&T Bell Labs, Reading, PA mhuxl!smh

> I need a 'script' or program to do the job {read my news}
> (background or foreground doesn't matter) for me so that later (probably
> one or two weeks later!) I can look at the saved file.

The following is a script that I use on system V release 2 which I start
and then each day it mails me all the news from net.micro.mac.  The easy
way I stop it is to change its name from readmac to macread for 25 hours.

#  readmac: reads news in net.micro.mac and mails it to smh each day.
          readnews -pn net.micro.mac | mail smh
          at now + 1 day < readmac

I only use this when I am on vacation since I haven't figured out how to
conveniently page through each article like vnews or readnews.  Since our
system only keeps news for 3 or 4 days, a program like this is a newssaver:-)
One could invoke it as 'readnews -p | mail login' if you wanted to use your
.newsrc, but I don't save all my regular news, just mac news.