#!/bin/sh
# $Id: gen-doc,v 1.2 2002/09/22 15:11:10 fcron Exp $
PREVIOUS=`cat ./VERSION`
if test $PREVIOUS != $1; then
cd doc
for i in *
do
if test $i != RCS; then
if echo $i | egrep -e '[[:upper:]]+' > /dev/null; then
echo $i
sed -e "s:fcron version [0-9\.]*:fcron version $1:" < $i > tmp
mv -f tmp $i
chown $USER $i
rm -f tmp
fi
fi
done
fi