mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
MFC: rev. 1.3, bring into the reality
This commit is contained in:
parent
0d24467ece
commit
e3d592539d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/3/; revision=52871
@ -1,26 +1,25 @@
|
||||
#!/bin/sh
|
||||
# Copyright (c) March 1997. Wolfram Schneider <wosch@FreeBSD.ORG>. Berlin.
|
||||
# Copyright (c) March 1997. Wolfram Schneider <wosch@FreeBSD$
|
||||
# (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
|
||||
|
Loading…
Reference in New Issue
Block a user