1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

Add ac which check if the FreeBSD handbook is in sync with the committers list

This commit is contained in:
Wolfram Schneider 1997-03-28 14:40:39 +00:00
parent 19e1457bc5
commit caccaa9b2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24347
2 changed files with 28 additions and 0 deletions

View File

@ -5,3 +5,5 @@ somewhere, for instance by traversing a kernel-structure and verifying
the integrity.
Please make a subdir per program, and add a brief description to this file.
ac check if the FreeBSD handbook is in sync with the committers list

26
tools/diag/ac/ac Normal file
View File

@ -0,0 +1,26 @@
#!/bin/sh
# Copyright (c) March 1997. Wolfram Schneider <wosch@FreeBSD.ORG>. Berlin.
# This script is dedicated to the FreeBSD core team.
#
# ac - check if the FreeBSD handbook is in sync with the committers list
#
# $Id$
: ${CVSROOT=/usr/cvs}
contrib=src/share/doc/handbook/contrib.sgml
avail=CVSROOT/avail
cvs='cvs -Q co -p'
tmp=${TMPDIR-/tmp}/_committers
$cvs $contrib |
perl -ne 'print if /contrib:core/ .. /contrib:doc/' |
perl -ne 'print "$1\n" if /<item>\&a\.([^;]+)/' |
sort -u > $tmp.contrib
$cvs $avail |
sed -n 's/^avail\|//p' |
perl -npe 's/,/\n/g' |
sort -u > $tmp.avail
diff -u $tmp.avail $tmp.contrib
rm -f $tmp.avail $tmp.contrib