From: vince@victrola.wa.com (Vince Skahan) Subject: Re: cnews - can't batch articles for sending Date: 28 Jul 1993 03:36:01 GMT
fozzie@turtle.apana.org.au (Fozzie Bear) writes:
>I don't have any trouble accepting news in and unbatching it. But no matter
>*what* I have tried so far, I just can't get it to batch the news up. I don't
>get any error messages, nothing. It just dissapears into the great /dev/null
if you're using the Performance Release of Cnews, what you're seeing is the
result of a broken combination of bash+gcclib. The following doexplode from
Steve Robbins works fine here (0.99-11, gcc2.4.3, gcclib4.4.1):
(wierd path alert - remember to change the path up top to point to where
your newslib config file is...)
#! /bin/sh
# explode master batch files into normal batch files
# =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
. ${NEWSCONFIG-/usenet/sw/news/lib/config}
PATH=$NEWSCTL/bin:$NEWSBIN/relay:$NEWSBIN:$NEWSPATH ; export PATH
umask $NEWSUMASK
cd $NEWSARTS
for f in out.master/[0-9]*
do
if [ ! -f $f ] ; then continue; fi # SMR other method no work
# case "$f" in
# "out.master/[0-9]*") break ;; # no work
# esac
work=$f.tmp
export f work
# lock against relaynews for the mv and
# batchers for explode.
SHELL=/bin/sh $NEWSBIN/maint/locknews <<'!'
mv $f $work # move out the way of relaynews
explode $work
rm -f $work
!
done
--
---------- Vince Skahan --------- vince@victrola.wa.com -------------
Seattle - where sunshine doesn't...