# Construct the groupfile.
awk '{ print $1 " " NR }' ${1-/usr/lib/news/active} > /tmp/ng$$
wc -l < /tmp/ng$$
cat /tmp/ng$$
