List of committers was moved out of handbook. Teach 'ac' about new location.

Also teach it about complex entries in access file (or correctly to say
simplify them)
This commit is contained in:
Alexey Zelkin 2002-02-06 17:09:08 +00:00
parent 32ce1b8d9e
commit d6d290cbca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90305

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (c) March 1997. Wolfram Schneider <wosch@FreeBSD.ORG>. Berlin.
# (c) 1999, Alexey Zelkin <phantom@FreeBSD.org>
# (c) 1999, 2002 Alexey Zelkin <phantom@FreeBSD.org>
# This script is dedicated to the FreeBSD core team.
#
# ac - check if the FreeBSD handbook is in sync with the committers list
@ -8,17 +8,19 @@
# $FreeBSD$
: ${CVSROOT=/home/ncvs}
contrib=doc/en_US.ISO8859-1/books/handbook/staff/chapter.sgml
contrib=doc/en_US.ISO8859-1/articles/contributors/article.sgml
access=CVSROOT/access
cvs='cvs -Q co -p'
tmp=${TMPDIR-/tmp}/_committers
$cvs $contrib |
perl -ne 'print "$1\n" if /<para>\&a\.([^;]+)/' |
awk '{ print $1 }' |
sort -u > $tmp.contrib
$cvs $access |
sed 's/^\#.*//g' |
awk '{ print $1 }' |
sort -u > $tmp.access
diff -u $tmp.access $tmp.contrib