#!/bin/sh -

# Takes the "List of Moderators" posting (as found in news.lists) as standard
# input and sets moderation addresses of notes groups accordingly.
# 

cd __LIBDIR__
__AWK__ '
BEGIN {
	do {
		if (getline < 0) {
			print "Could not find a line that starts with a colon";
			exit(1);
		}
	while ($0 !~ /^:/);
	next;
}

$1 ~ /^--/ {
	exit(0);
}

{
	system("./nfdirect +v +pg:Other=nrw +m" $2 " " $1);
}
'
