stephen@dcl-cs.UUCP (03/01/87)
As I've had enough trouble getting Rick Adams to put in my other patch for
2.11, I am posting this to this newsgroup in the hope that it will become part
of patch #5 for 2.11 news. The problem is that we get no talk.* groups, so the
checkgroups message for Europe doesn't tell the news administrators to delete
any talk.* groups they may have. Here is a patch for checkgroups.sh so that,
if the line:
!talk
is present in the checkgroups message, it will add "talk" to the list of
distributions to be checked. A similar thing can be done for misc, rec, etc.
----------------------------------- Cut Here ----------------------------------
*** checkgroups.sh.orig Sun Mar 1 03:51:13 1987
--- checkgroups.sh Sun Mar 1 03:52:47 1987
***************
*** 27,33
echo "${line}" > /tmp/$$msg
cat >> /tmp/$$msg
cp /dev/null /tmp/$$b
! cat /tmp/$$msg | sed -e "s;[ ].*;;" -e "s;\..*;;" | sort -u |
while read dist
do
group=`cat /tmp/$$b`
--- 27,33 -----
echo "${line}" > /tmp/$$msg
cat >> /tmp/$$msg
cp /dev/null /tmp/$$b
! sed -e "s;[ ].*;;" -e "s;\..*;;" -e "s;^!;;" /tmp/$$msg | sort -u |
while read dist
do
group=`cat /tmp/$$b`
***************
*** 37,43
group=`cat /tmp/$$b`
egrep -v "${group}" LIBDIR/newsgroups > /tmp/$$a
cat /tmp/$$a > LIBDIR/newsgroups
! cat /tmp/$$msg >> LIBDIR/newsgroups
rm -f /tmp/$$b /tmp/$$msg
;;
esac
--- 37,43 -----
group=`cat /tmp/$$b`
egrep -v "${group}" LIBDIR/newsgroups > /tmp/$$a
cat /tmp/$$a > LIBDIR/newsgroups
! sed -e "/^!/d" /tmp/$$msg >> LIBDIR/newsgroups
rm -f /tmp/$$b /tmp/$$msg
;;
esac
----------------------------------- Cut Here ----------------------------------
--
EMAIL: stephen@comp.lancs.ac.uk | Post: University of Lancaster,
UUCP: ...!mcvax!ukc!dcl-cs!stephen | Department of Computing,
Phone: +44 524 65201 Ext. 4120 | Bailrigg, Lancaster, UK.
Project:Alvey ECLIPSE Distribution | LA1 4YR