head	1.6;
access;
symbols
	RELENG_4_11_0_RELEASE:1.3.2.1
	RELENG_4_11:1.3.2.1.0.14
	RELENG_4_11_BP:1.3.2.1
	RELENG_4_10_0_RELEASE:1.3.2.1
	RELENG_4_10:1.3.2.1.0.12
	RELENG_4_10_BP:1.3.2.1
	RELENG_4_9_0_RELEASE:1.3.2.1
	RELENG_4_9:1.3.2.1.0.10
	RELENG_4_9_BP:1.3.2.1
	RELENG_4_8_0_RELEASE:1.3.2.1
	RELENG_4_8:1.3.2.1.0.8
	RELENG_4_8_BP:1.3.2.1
	RELENG_4_7_0_RELEASE:1.3.2.1
	RELENG_4_7:1.3.2.1.0.6
	RELENG_4_7_BP:1.3.2.1
	RELENG_4_6_2_RELEASE:1.3.2.1
	RELENG_4_6_1_RELEASE:1.3.2.1
	RELENG_4_6_0_RELEASE:1.3.2.1
	RELENG_4_6:1.3.2.1.0.4
	RELENG_4_6_BP:1.3.2.1
	RELENG_4_5_0_RELEASE:1.3.2.1
	RELENG_4_5:1.3.2.1.0.2
	RELENG_4_5_BP:1.3.2.1
	RELENG_4_4_0_RELEASE:1.3
	RELENG_4_4:1.3.0.6
	RELENG_4_4_BP:1.3
	RELENG_4_3_0_RELEASE:1.3
	RELENG_4_3:1.3.0.4
	RELENG_4_3_BP:1.3
	RELENG_4_2_0_RELEASE:1.3
	RELENG_4_1_1_RELEASE:1.3
	PRE_SMPNG:1.3
	RELENG_4_1_0_RELEASE:1.3
	RELENG_3_5_0_RELEASE:1.1.2.2
	RELENG_4_0_0_RELEASE:1.3
	RELENG_4:1.3.0.2
	RELENG_4_BP:1.3
	RELENG_3_4_0_RELEASE:1.1.2.2
	RELENG_3_3_0_RELEASE:1.1.2.1
	RELENG_3_2_PAO:1.1.0.4
	RELENG_3_2_PAO_BP:1.1
	RELENG_3_2_0_RELEASE:1.1
	RELENG_3_1_0_RELEASE:1.1
	RELENG_3:1.1.0.2
	RELENG_3_BP:1.1
	RELENG_3_0_0_RELEASE:1.1;
locks; strict;
comment	@# @;


1.6
date	2002.02.07.19.13.06;	author phantom;	state dead;
branches;
next	1.5;

1.5
date	2002.02.06.17.09.08;	author phantom;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.11.01.29.40;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	99.11.04.08.45.02;	author phantom;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	99.08.28.00.54.22;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	97.03.28.14.40.39;	author wosch;	state Exp;
branches
	1.1.2.1;
next	;

1.3.2.1
date	2002.01.04.19.30.12;	author phantom;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2012.11.17.07.27.17;	author svnexp;	state Exp;
branches;
next	;

1.1.2.1
date	99.08.29.15.18.11;	author peter;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	99.11.04.09.07.14;	author phantom;	state Exp;
branches;
next	;


desc
@@


1.6
log
@This script has served its purpose. Now its function is one of subfunctions
of recently added cknames.pl.
@
text
@#!/bin/sh
# Copyright (c) March 1997. Wolfram Schneider <wosch@@FreeBSD.ORG>. Berlin.
#           (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
#
# $FreeBSD: src/tools/diag/ac/ac,v 1.5 2002/02/06 17:09:08 phantom Exp $

: ${CVSROOT=/home/ncvs}
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
rm -f $tmp.access $tmp.contrib
@


1.5
log
@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)
@
text
@d8 1
a8 1
# $FreeBSD$
@


1.4
log
@ISO_ -> ISO
@
text
@d3 1
a3 1
#           (c) 1999, Alexey Zelkin <phantom@@FreeBSD.org>
d8 1
a8 1
# $FreeBSD: src/tools/diag/ac/ac,v 1.3 1999/11/04 08:45:02 phantom Exp $
d11 1
a11 1
contrib=doc/en_US.ISO8859-1/books/handbook/staff/chapter.sgml
d18 1
d23 1
@


1.3
log
@Bring ``ac'' into reality. This great tools now works correctly (for
current state of the tree)
@
text
@d8 1
a8 1
# $FreeBSD: src/tools/diag/ac/ac,v 1.2 1999/08/28 00:54:22 peter Exp $
d11 1
a11 1
contrib=doc/en_US.ISO_8859-1/books/handbook/staff/chapter.sgml
d25 1
a25 1
rm -f $tmp.access $tmp.contrib@


1.3.2.1
log
@MFC: rev 1.4, ISO_ -> ISO
@
text
@d8 1
a8 1
# $FreeBSD$
d11 1
a11 1
contrib=doc/en_US.ISO8859-1/books/handbook/staff/chapter.sgml
d25 1
a25 1
rm -f $tmp.access $tmp.contrib
@


1.3.2.2
log
@Switch importer
@
text
@d8 1
a8 1
# $FreeBSD: stable/4/tools/diag/ac/ac 88887 2002-01-04 19:30:12Z phantom $
@


1.2
log
@$Id$ -> $FreeBSD$
@
text
@d3 1
d8 1
a8 1
# $FreeBSD$
d10 3
a12 3
: ${CVSROOT=/usr/cvs}
contrib=src/share/doc/handbook/contrib.sgml
avail=CVSROOT/avail
d16 2
a17 3
$cvs $contrib | 
	perl -ne 'print if /contrib:core/ .. /contrib:doc/' |
	perl -ne 'print "$1\n" if /<item>\&a\.([^;]+)/' | 
d20 3
a22 4
$cvs $avail | 
	sed -n 's/^avail\|//p' | 
	perl -npe 's/,/\n/g' | 
	sort -u > $tmp.avail
d24 2
a25 2
diff -u $tmp.avail $tmp.contrib
rm -f $tmp.avail $tmp.contrib
@


1.1
log
@Add ac which check if the FreeBSD handbook is in sync with the committers list
@
text
@d7 1
a7 1
# $Id$
@


1.1.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d7 1
a7 1
# $FreeBSD$
@


1.1.2.2
log
@MFC: rev. 1.3, bring into the reality
@
text
@d2 1
a2 2
# Copyright (c) March 1997. Wolfram Schneider <wosch@@FreeBSD$
#           (c) 1999, Alexey Zelkin <phantom@@FreeBSD.org>
d9 3
a11 3
: ${CVSROOT=/home/ncvs}
contrib=doc/en_US.ISO_8859-1/books/handbook/staff/chapter.sgml
access=CVSROOT/access
d15 3
a17 2
$cvs $contrib |
	perl -ne 'print "$1\n" if /<para>\&a\.([^;]+)/' |
d20 4
a23 3
$cvs $access |
	sed 's/^\#.*//g' |
	sort -u > $tmp.access
d25 2
a26 2
diff -u $tmp.access $tmp.contrib
rm -f $tmp.access $tmp.contrib
@


