#	Count all the calls to the BSD 4.3 entry points in a source tree.

#	Copyright (c) 1994 by Hamilton Laboratories.  All rights reserved.

sed -f step1.sed bsd4.3 > srchbsd.sed
(local i; foreach i ($argv) cat $i\...\*.[ch]*; end) | tr -n | ^
	sed -nf srchbsd.sed | sort | uniq -c
