#! /bin/sh
# Find size of current queue of news outbound to $1.  HDB/BNU version.

# =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
. ${NEWSCONFIG-/var/lib/news/bin/config}

PATH=$NEWSCTL/bin:$NEWSBIN:$NEWSPATH ; export PATH
umask $NEWSUMASK

cd /usr/spool/uucp
grade=d

if test -d $1
then
	cd $1
	ls | egrep "^C\..*$grade....\$" | wc -l
else
	echo 0
fi
