bind9/doc/draft/update
2002-07-04 00:32:48 +00:00

20 lines
312 B
Bash

#!/bin/sh
for i
do
if test -f "$i"
then
continue
fi
pat=`echo "$i" | sed 's/...txt/??.txt/'`
old=`echo $pat 2> /dev/null`
fetch "http://www.ietf.org/internet-drafts/$i"
cvs add "$1"
if test "X$old" != "X$pat"
then
rm $old
cvs delete $old
else
old=
fi
cvs commit -m "new draft" $i $old
done