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:
parent
32ce1b8d9e
commit
d6d290cbca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90305
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (c) March 1997. Wolfram Schneider <wosch@FreeBSD.ORG>. Berlin.
|
# 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.
|
# This script is dedicated to the FreeBSD core team.
|
||||||
#
|
#
|
||||||
# ac - check if the FreeBSD handbook is in sync with the committers list
|
# ac - check if the FreeBSD handbook is in sync with the committers list
|
||||||
@ -8,17 +8,19 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
: ${CVSROOT=/home/ncvs}
|
: ${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
|
access=CVSROOT/access
|
||||||
cvs='cvs -Q co -p'
|
cvs='cvs -Q co -p'
|
||||||
tmp=${TMPDIR-/tmp}/_committers
|
tmp=${TMPDIR-/tmp}/_committers
|
||||||
|
|
||||||
$cvs $contrib |
|
$cvs $contrib |
|
||||||
perl -ne 'print "$1\n" if /<para>\&a\.([^;]+)/' |
|
perl -ne 'print "$1\n" if /<para>\&a\.([^;]+)/' |
|
||||||
|
awk '{ print $1 }' |
|
||||||
sort -u > $tmp.contrib
|
sort -u > $tmp.contrib
|
||||||
|
|
||||||
$cvs $access |
|
$cvs $access |
|
||||||
sed 's/^\#.*//g' |
|
sed 's/^\#.*//g' |
|
||||||
|
awk '{ print $1 }' |
|
||||||
sort -u > $tmp.access
|
sort -u > $tmp.access
|
||||||
|
|
||||||
diff -u $tmp.access $tmp.contrib
|
diff -u $tmp.access $tmp.contrib
|
||||||
|
Loading…
Reference in New Issue
Block a user