summaryrefslogtreecommitdiff
path: root/Build/cdbuild/Check
blob: ed4bee396081874b8e01a14c7fe4a4cb80f1e0c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
rm files.*
R=/texlive/Master
:>files.lists.x
for i in `find $R/texmf/lists -type f   `
do
 grep -v "^/" $i  | awk '{print $1}' >> files.lists.x
done
sort < files.lists.x | uniq | awk '{print $1}' | sed '/^$/d' > files.lists
sort < files.lists.x | awk '{print $1}' | sed '/^$/d' > files.lists.all
diff files.lists files.lists.all | grep ">" > files.lists.dupl
rm files.lists.x
P=`pwd`
(cd $R; find texmf -type f >> $P/files.find.x)
(cd $R; find texmf-doc -type l >> $P/files.find.x)
(cd $R; find texmf-doc -type f >> $P/files.find.x)
(cd $R; find texmf-dist -type l >> $P/files.find.x)
(cd $R; find texmf-dist -type f >> $P/files.find.x)
(cd $R; find bin -type l >> $P/files.find.x)
(cd $R; find bin -type f >> $P/files.find.x)
(cd $R; find info -type f >> $P/files.find.x)
(cd $R; find readme.html  >> $P/files.find.x)
(cd $R; find man -type l >> $P/files.find.x)
(cd $R; find man -type f >> $P/files.find.x)
sort < files.find.x > files.find
rm files.find.x
comm -23 files.find files.lists > files.find.only
comm -13 files.find files.lists > files.lists.only