summaryrefslogtreecommitdiffstats
path: root/tools/diag
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>1999-11-04 08:45:02 +0000
committerphantom <phantom@FreeBSD.org>1999-11-04 08:45:02 +0000
commit316924e9e4a6cf059cf2b096a20c05ada40c41c7 (patch)
treedc2d0aceec3d7c839f90898c42434e3604eae187 /tools/diag
parentd02421bc713577d406f5a59142388faf6d549177 (diff)
downloadFreeBSD-src-316924e9e4a6cf059cf2b096a20c05ada40c41c7.zip
FreeBSD-src-316924e9e4a6cf059cf2b096a20c05ada40c41c7.tar.gz
Bring ``ac'' into reality. This great tools now works correctly (for
current state of the tree)
Diffstat (limited to 'tools/diag')
-rw-r--r--tools/diag/ac/ac23
1 files changed, 11 insertions, 12 deletions
diff --git a/tools/diag/ac/ac b/tools/diag/ac/ac
index 6bff173..8bb86cf 100644
--- a/tools/diag/ac/ac
+++ b/tools/diag/ac/ac
@@ -1,26 +1,25 @@
#!/bin/sh
# Copyright (c) March 1997. Wolfram Schneider <wosch@FreeBSD.ORG>. Berlin.
+# (c) 1999, 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$
-: ${CVSROOT=/usr/cvs}
-contrib=src/share/doc/handbook/contrib.sgml
-avail=CVSROOT/avail
+: ${CVSROOT=/home/ncvs}
+contrib=doc/en_US.ISO_8859-1/books/handbook/staff/chapter.sgml
+access=CVSROOT/access
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\.([^;]+)/' |
+$cvs $contrib |
+ perl -ne 'print "$1\n" if /<para>\&a\.([^;]+)/' |
sort -u > $tmp.contrib
-$cvs $avail |
- sed -n 's/^avail\|//p' |
- perl -npe 's/,/\n/g' |
- sort -u > $tmp.avail
+$cvs $access |
+ sed 's/^\#.*//g' |
+ sort -u > $tmp.access
-diff -u $tmp.avail $tmp.contrib
-rm -f $tmp.avail $tmp.contrib
+diff -u $tmp.access $tmp.contrib
+rm -f $tmp.access $tmp.contrib \ No newline at end of file
OpenPOWER on IntegriCloud