#	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 sys-v > srchsysv.sed
(local i; foreach i ($argv) cat $i\...\*.[ch]*; end) | tr -n | ^
	sed -nf srchsysv.sed | sort | uniq -c
