2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-27 04:28:33 +00:00
bind/doc/draft/update

38 lines
502 B
Plaintext
Raw Normal View History

2002-07-04 00:32:48 +00:00
#!/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`
if test "X$old" != "X$pat"
then
newer=0
for j in $old
do
if test $j > $i
then
newer=1
fi
done
if test $newer = 1
then
continue;
fi
fi
if fetch "http://www.ietf.org/internet-drafts/$i"
2002-07-04 00:32:48 +00:00
then
cvs add "$i"
if test "X$old" != "X$pat"
then
rm $old
cvs delete $old
else
old=
fi
cvs commit -m "new draft" $i $old
2002-07-04 00:32:48 +00:00
fi
done