[net.wanted] Pubindex...

dan@rna.UUCP (07/06/83)

	I never have seen a version of pubindex which came from Bell. It was
left out of V7, along with other related commands like pub.chg, pub.del and
pub.run, all mentioned in Lesk's paper, Updating Publications Lists.
	Pubindex may be in the newer release of the refer software - I haven't
thought to look.
	I have constructed a pubindex shell file which has been adequate.
This pubindex leaves the index files in the current directory. I will try to
do an on-the-fly translation here, since we run a different shell ...

trap 'rm X$$*; exit' 1 2 3 15
if test $1
then
	/usr/lib/refer/mkey $* | /usr/lib/refer/inv -v -h997 -n X$$
	mv X$$.ia $1.ia
	mv X$$.ib $1.ib
	mv X$$.ic $1.ic
	echo "Index in $1.i*"
	rm X$$*
	exit
else
	echo Usage: pubindex refer_files...
	exit
fi

					Cheers,

					Dan Ts'o
					...cmcl2!rna!dan