From: Mark Andrews Date: Thu, 4 Jul 2002 00:32:48 +0000 (+0000) Subject: a tool for fetching new drafts X-Git-Tag: v9.2.3rc1~104^2~502 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=88a44b0542f5544bc2c29ed64540e4ddfe6eed87;p=thirdparty%2Fbind9.git a tool for fetching new drafts --- diff --git a/doc/draft/update b/doc/draft/update new file mode 100644 index 00000000000..eaa324a5a0e --- /dev/null +++ b/doc/draft/update @@ -0,0 +1,20 @@ +#!/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