CVS: brutus/elaine doc_merge,NONE,1.1
elaine at lunar-linux.org
elaine at lunar-linux.org
Sun Jul 20 20:23:10 GMT 2003
Update of /var/cvs/lunar/brutus/elaine
In directory dbguin.lunar-linux.org:/tmp/cvs-serv24252
Added Files:
doc_merge
Log Message:
developer TODO lists nightly crontab for lunar-doc
--- NEW FILE: doc_merge ---
#!/bin/sh
export OURDIR=/home/elaine/lpcvs/lunar-doc
export CVSROOT=/var/cvs/lunar
export CVS_RSH=sh
cd $OURDIR &&
cvs up -PAd &&
NOWDATE=`date -u +%Y%m%d`
if [ ! -e History/TODO.$NOWDATE ]; then
mv TODO History/TODO.$NOWDATE
cvs add History/TODO.$NOWDATE
else
cvs edit History/TODO.$NOWDATE &&
echo "Modified `date -u +%Y%m%d%H%M`" >> History/TODO.$NOWDATE
cat TODO >> History/TODO.$NOWDATE
rm TODO
fi &&
cvs edit TODO &&
(
for i in [a-z]*/TODO; do
cvs edit $i &&
grep -iH 'item:' $i >> $OURDIR/TODO
cat << EOF >> $OURDIR/TODO
--------------------------
EOF
done
)
cvs commit -m "auto comit"
More information about the Lunar-commits
mailing list