Path: utzoo!utgpu!water!watmath!clyde!att!chinet!bigtex!james
From: james@bigtex.uucp (James Van Artsdalen)
Newsgroups: news.software.b
Subject: Re: Two ihave/sendme ideas
Message-ID: <6578@bigtex.uucp>
Date: 21 Aug 88 01:11:21 GMT
References: <906@datack.UUCP>
Reply-To: james@bigtex.UUCP (James Van Artsdalen)
Organization: F.B.N. Software, Austin TX
Lines: 34
If you want to use ihave/sendme, but avoid the duplications that often
result, here is one way to do it. This patch to sendbatch.sh causes
outgoing ihave messages to be delayed by 2 days. Incoming sendme
messages are not delayed. I use it extensively for backup news feeds.
*** sendbatch.sh Sat Aug 20 20:06:37 1988
--- Sendbatch.sh Sat Aug 20 20:04:29 1988
***************
*** 74,81
if test -n "$DOIHAVE" -a -s BATCHDIR/$rmt.ihave
then
mv BATCHDIR/$rmt.ihave BATCHDIR/$rmt.$$
! LIBDIR/inews -t "cmsg ihave $DOIHAVE" -n to.$rmt.ctl < \
! BATCHDIR/$rmt.$$
rm BATCHDIR/$rmt.$$
else
--- 74,83 -----
if test -n "$DOIHAVE" -a -s BATCHDIR/$rmt.ihave
then
mv BATCHDIR/$rmt.ihave BATCHDIR/$rmt.$$
! ( echo LIBDIR/inews -t \"cmsg ihave $DOIHAVE\" -n to.$rmt.ctl '</dev/null
rm BATCHDIR/$rmt.$$
else
This won't work if you have a dumb "at".
--
James R. Van Artsdalen ...!uunet!utastro!bigtex!james "Live Free or Die"
Home: 512-346-2444 Work: 328-0282; 110 Wild Basin Rd. Ste #230, Austin TX 78746