
# Special degenerate verson of C news's "queuelen" program, for use with
# the dyna-feed batcher under B news.
# Returns the number of batches already queued up for the given site. ($1)

# We advise you get the C news 'queuelen' program for your machine, or modify
# this as needed.

if test -d /usr/spool/uucp/$1 ; then
	cd /usr/spool/uucp/$1
	ls | grep '^C.*d....$' | wc | awk '{print $1}'
 else
	echo 0
fi
