summaryrefslogtreecommitdiffstats
path: root/tools/diag/ac
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2002-02-06 17:09:08 +0000
committerphantom <phantom@FreeBSD.org>2002-02-06 17:09:08 +0000
commita17a2c3284e17e1540488e24af748770bbc18baf (patch)
treea2485306438fb50ad21e4b5ef4973a7417b3fa92 /tools/diag/ac
parent81e25fdf51c33b7f7ae263f87fc79dc114f5edb9 (diff)
downloadFreeBSD-src-a17a2c3284e17e1540488e24af748770bbc18baf.zip
FreeBSD-src-a17a2c3284e17e1540488e24af748770bbc18baf.tar.gz
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)
Diffstat (limited to 'tools/diag/ac')
-rw-r--r--tools/diag/ac/ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/diag/ac/ac b/tools/diag/ac/ac
index 511cf26..0090e48 100644
--- a/tools/diag/ac/ac
+++ b/tools/diag/ac/ac
@@ -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
OpenPOWER on IntegriCloud