inews -h -Q -R <$tf
else
(set -e
- echo "Newsgroups: chiark.test.moderated"
+ echo "Newsgroups: %TESTGROUP%"
sed 's/^Newsgroups:/X-Would-Newsgroups:/' $tf) | inews -h
fi
`
if [ $rc = 0 ]
then
echo 'posted ok!'
- $HOME/live/xlog/bin/record posted uk.rec.cycling.moderated <$tf
+ $HOME/live/xlog/bin/record posted %GROUP% <$tf
exit 0
fi