TEMPFILE=/tmp/lockcheck
cd /src/paws/src
find . -type f -print |
while read f
do
  if rlog -l $f 2>$TEMPFILE | fgrep -e ----- >/dev/null
  then
    echo "$f\t\c"
    rlog -l $f | grep '^locks:'
  fi
  if [ -s $TEMPFILE ]
  then
    echo "$f\trlog error"
    cat $TEMPFILE
  fi
done
rm $TEMPFILE
