BSD 4_4 release
[unix-history] / usr / old / bin / indxbib
#!/bin/sh -
#
# This module is believed to contain source code proprietary to AT&T.
# Use and redistribution is subject to the Berkeley Software License
# Agreement and your Software Agreement with AT&T (Western Electric).
#
# @(#)indxbib.sh 4.3 (Berkeley) 4/18/91
#
# indxbib sh script
#
if test $1
then /usr/libexec/mkey $* | /usr/libexec/inv _$1
mv _$1.ia $1.ia
mv _$1.ib $1.ib
mv _$1.ic $1.ic
else
echo 'Usage: indxbib database [ ... ]
first argument is the basename for indexes
indexes will be called database.{ia,ib,ic}'
fi