Path: utzoo!attcan!uunet!steinmetz!davidsen From: davidsen@steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.mail.misc Subject: Re: Automatic Updating of pathalias database Keywords: pathalias Message-ID: <10888@steinmetz.ge.com> Date: 18 May 88 18:52:32 GMT References: <284@trwrc.RC.TRW.COM> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 24 In article <284@trwrc.RC.TRW.COM> agnew@trwrc.UUCP (Robert A. Agnew) writes: | Has anyone devised a job to run in thier crontab that automatically | copies maps from comp.mail.maps to thier pathalias map database | account. This would relieve hundreds of people from countless I do this on a net machine, to distribute to machines which is running mail but not news. It could be hacked to do what you want with little trouble. There is a tag file which is used in conjunction with the find command to select what to move. On the other end, there is a program which unshars, saves the original file in compressed format, and updates the text copy to delete all of the stuff following #, or the whole line if # in col 1. Another part goes through and generates maps for several systems, using local, us, na, or global sites, plus nets if desired. The result is then compressed and sent to the system for which it's intended via uucp. I suspect that I misunderstand the problem, since the whole thing I do was hacked in about an hour using all shell scripts. I don't run it with cron, but I certainly could. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me