Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!mcdchg!heiby From: heiby@mcdchg.UUCP (Ron Heiby) Newsgroups: news.admin Subject: Re: Sendbatch Message-ID: <416@mcdchg.UUCP> Date: Mon, 27-Apr-87 11:46:50 EDT Article-I.D.: mcdchg.416 Posted: Mon Apr 27 11:46:50 1987 Date-Received: Tue, 28-Apr-87 01:50:52 EDT References: <4298@auspyr.UUCP> Reply-To: heiby@mcdchg.UUCP (Ron Heiby) Organization: Motorola Microcomputer, Schaumburg, IL Lines: 27 Summary: Don't need to modify it, just use its features. In article <4298@auspyr.UUCP> joe@auspyr.UUCP writes: >Can someone modify news2.11 sendbatch (or whatever) to exec: > uux - remote!rnews remote < batched_articles >instead of > uux - remote!rnews < batched_articles The lines in 2.11 sendbatch that actually do the work are as follows. The exact lines may differ, depending on your localize.sh configuration. (eval $ECHO; eval $CMD $COMP $C7) | if test -s /usenet/spool/batch/$rmt.cmd then /usenet/spool/batch/$rmt.cmd else uux - -r -gz $rmt!$RNEWS fi This means that if you want to send news to site "bar" via site "foo" as you describe above, you can create a file in your batch directory called "bar.cmd" which contains a line something like: uux - -r -gz foo!rnews bar You don't need to modify sendbatch, just use the features it already provides. -- Ron Heiby, heiby@mcdchg.UUCP Moderator: comp.newprod & comp.unix Motorola Microcomputer Division (MCD), Schaumburg, IL "I am not elsewhere."