#!/bin/sh
# filename: vstk.sh
#
# Example shell script to execute VFind with UAD, and CIT
# Read the comments contained in this script, then modify for 
# your own site.
######################################################
# put out warnings in the script for the user to see.
echo "#######################################################"
echo "#                   W A R N I N G                     #"
echo "#                                                     #"
echo "#  This is file vstk.sh                               #"
echo "#  This is only an example script.  Please modify it, #"
echo "#  as necessary, for your site.                       #"
echo "#                                                     #"
echo "#######################################################"
echo " "
######################################################

####
#  The environment variable BIN_DIR may need modifying for each installation.
####

BIN_DIR=/usr/bin
export BIN_DIR

  find / -type f -print | egrep -v '^(/dev/|/proc/)' | ${BIN_DIR}/cit >cit.out
  cat cit.out | \
  ${BIN_DIR}/uad -s -ssw | \
  ${BIN_DIR}/vfind -ssr | \
  grep '##==>>>>' | more
# grep '##==>>>>' | mail root
