lyskomd-copyrights 7.13 KB
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
1
#!/bin/bash
2
# $Id: lyskomd-copyrights,v 1.20 2003/08/29 15:21:53 ceder Exp $
3
# Copyright (C) 1995-1996, 1999, 2002-2003  Lysator Academic Computer Association.
Per Cederqvist's avatar
Per Cederqvist committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
Per Cederqvist's avatar
Per Cederqvist committed
19
# Please report bugs at http://bugzilla.lysator.liu.se/.
Per Cederqvist's avatar
Per Cederqvist committed
20
21
22
23
24
25
26
27
28
29

if [ ! -f src/server/fncdef.txt ]; then
    echo $0: must be invoked from base of lyskomd source >&2; exit 1
fi
if [ ! -f scripts/CVS/Entries ]; then
    echo $0: must be invoked in a CVS working copy of the sources >&2; exit 1
fi
find . \( -type f -print \) -o \( -name CVS -prune \) \
	| sed \
		-e '/#/d' \
30
31
32
33
34
35
		-e '/\.bb$/d' \
		-e '/\.bbg$/d' \
		-e '/\.da$/d' \
		-e '/\.deps\//d' \
		-e '/\.elc$/d' \
		-e '/\.log$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
36
37
38
		-e '/\.o$/d' \
		-e '/\.orig$/d' \
		-e '/\.rej$/d' \
39
40
41
		-e '/\.sum$/d' \
		-e '/\.tar\.gz$/d' \
		-e '/\.tmp$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
42
		-e '/\/.cvsignore$/d' \
43
		-e '/\/ChangeLog/d' \
Per Cederqvist's avatar
Per Cederqvist committed
44
45
		-e '/\/Makefile$/d' \
		-e '/\/Makefile.in$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
46
		-e '/\/TAGS$/d' \
47
48
		-e '/\/\.gdbinit$/d' \
		-e '/\/\site.exp/d' \
Per Cederqvist's avatar
Per Cederqvist committed
49
		-e '/\/autom4te.cache\//d' \
50
51
		-e '/\/lib[^/]*\.a$/d' \
		-e '/^\.\/AUTHORS$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
52
		-e '/^\.\/COPYING$/d' \
53
		-e '/^\.\/HACKING$/d' \
54
		-e '/^\.\/NEWS$/d' \
55
		-e '/^\.\/README\.FSF$/d' \
56
		-e '/^\.\/TODO$/d' \
57
58
		-e '/^\.\/aclocal\.m4/d' \
		-e '/^\.\/config.h$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
59
		-e '/^\.\/config\.cache$/d' \
60
		-e '/^\.\/config\.h\.in/d' \
Per Cederqvist's avatar
Per Cederqvist committed
61
62
63
64
65
		-e '/^\.\/config\.log$/d' \
		-e '/^\.\/config\.status$/d' \
		-e '/^\.\/configure$/d' \
		-e '/^\.\/db-crypt\//d' \
		-e '/^\.\/db-nocrypt\//d' \
Per Cederqvist's avatar
Per Cederqvist committed
66
		-e '/^\.\/doc\/.*\.am$/d' \
67
68
		-e '/^\.\/doc\/.*\.aux$/d' \
		-e '/^\.\/doc\/.*\.cp$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
69
		-e '/^\.\/doc\/.*\.dvi$/d' \
70
		-e '/^\.\/doc\/.*\.fn$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
71
72
73
74
		-e '/^\.\/doc\/.*\.fns$/d' \
		-e '/^\.\/doc\/.*\.info$/d' \
		-e '/^\.\/doc\/.*\.info-[0-9]$/d' \
		-e '/^\.\/doc\/.*\.info-[0-9][0-9]$/d' \
75
		-e '/^\.\/doc\/.*\.ky$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
76
		-e '/^\.\/doc\/.*\.pdf$/d' \
77
78
		-e '/^\.\/doc\/.*\.pg$/d' \
		-e '/^\.\/doc\/.*\.toc$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
79
		-e '/^\.\/doc\/.*\.tp$/d' \
80
		-e '/^\.\/doc\/.*\.tps$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
81
		-e '/^\.\/doc\/.*\.vr$/d' \
82
		-e '/^\.\/doc\/IDEAS$/d' \
83
		-e '/^\.\/doc\/Protocol-A\.notab$/d' \
84
		-e '/^\.\/doc\/cmsltt12\.mf$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
85
		-e '/^\.\/doc\/constructs\.expected$/d' \
86
		-e '/^\.\/doc\/help\.swe$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
87
		-e '/^\.\/doc\/kom-style\.el$/d' \
88
		-e '/^\.\/doc\/lyskomd\.notab$/d' \
89
90
91
		-e '/^\.\/doc\/protocol-a-current\.txt$/d' \
		-e '/^\.\/doc\/protocol-a-full\.txt$/d' \
		-e '/^\.\/doc\/protocol-a-recommended\.txt$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
92
93
94
95
		-e '/^\.\/doc\/protocol-a\.html$/d' \
		-e '/^\.\/doc\/protocol-a\.texi$/d' \
		-e '/^\.\/doc\/protocol-a\.xml$/d' \
		-e '/^\.\/doc\/protocol-a\//d' \
96
		-e '/^\.\/doc\/stamp-vti$/d' \
97
		-e '/^\.\/doc\/stamp-vti1$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
98
		-e '/^\.\/doc\/version\.texi$/d' \
99
		-e '/^\.\/run-support\/config$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
100
101
		-e '/^\.\/run-support\/savecore-lyskom$/d' \
		-e '/^\.\/scripts\/definepath$/d' \
102
		-e '/^\.\/scripts\/install-sh/d' \
103
		-e '/^\.\/scripts\/lyskomd-copyrights$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
104
		-e '/^\.\/scripts\/mkinstalldirs$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
105
		-e '/^\.\/scripts\/unprefix$/d' \
106
		-e '/^\.\/scripts\/update-copyright$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
107
		-e '/^\.\/scripts\/warnings\.sed$/d' \
108
		-e '/^\.\/src\/libraries\/adns\//d' \
109
		-e '/^\.\/src\/libraries\/libcommon\/README$/d' \
110
111
112
113
114
		-e '/^\.\/src\/libraries\/libeintr\/eintr\.h$/d' \
		-e '/^\.\/src\/libraries\/libeintr\/fclose\.c$/d' \
		-e '/^\.\/src\/libraries\/libeintr\/fopen\.c$/d' \
		-e '/^\.\/src\/libraries\/libeintr\/funcs\.txt$/d' \
		-e '/^\.\/src\/libraries\/libeintr\/rename\.c$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
115
		-e '/^\.\/src\/libraries\/libisc-new\//d' \
116
		-e '/^\.\/src\/libraries\/libmisc\/README$/d' \
117
		-e '/^\.\/src\/libraries\/liboop\//d' \
Per Cederqvist's avatar
Per Cederqvist committed
118
119
120
		-e '/^\.\/src\/libraries\/regex\//d' \
		-e '/^\.\/src\/server\/.*\.gdb$/d' \
		-e '/^\.\/src\/server\/Magics$/d' \
121
		-e '/^\.\/src\/server\/aux-item-def-parse\.[hc]$/d' \
122
		-e '/^\.\/src\/server\/aux-item-def-scan\.c$/d' \
123
		-e '/^\.\/src\/server\/aux-no\.h$/d' \
124
125
		-e '/^\.\/src\/server\/cache-database\.c$/d' \
		-e '/^\.\/src\/server\/cache-database\.h$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
126
127
128
129
130
		-e '/^\.\/src\/server\/call-switch\.incl$/d' \
		-e '/^\.\/src\/server\/com\.h$/d' \
		-e '/^\.\/src\/server\/dbck$/d' \
		-e '/^\.\/src\/server\/fnc-def-init\.incl$/d' \
		-e '/^\.\/src\/server\/fncdef-no-str-limit\.txt$/d' \
131
		-e '/^\.\/src\/server\/komrunning$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
132
		-e '/^\.\/src\/server\/lyskomd$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
133
		-e '/^\.\/src\/server\/paths\.h$/d' \
134
		-e '/^\.\/src\/server\/prot-a-is-legal-fnc\.incl$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
135
136
		-e '/^\.\/src\/server\/prot-a-parse-arg\.c$/d' \
		-e '/^\.\/src\/server\/prot-a-parse-arg\.h$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
137
		-e '/^\.\/src\/server\/splitkomdb$/d' \
138
		-e '/^\.\/src\/server\/testsuite\/bignum$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
139
		-e '/^\.\/src\/server\/testsuite\/config\/localcfg\.exp$/d' \
140
		-e '/^\.\/src\/server\/testsuite\/config\/lyskomd-config$/d' \
141
		-e '/^\.\/src\/server\/testsuite\/core$/d' \
142
143
		-e '/^\.\/src\/server\/testsuite\/db\//d' \
		-e '/^\.\/src\/server\/testsuite\/etc\//d' \
Per Cederqvist's avatar
Per Cederqvist committed
144
		-e '/^\.\/src\/server\/testsuite\/get-time-often$/d' \
145
146
147
148
		-e '/^\.\/src\/server\/testsuite\/leaks\.0\/no-aux-items\.conf$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/15\.exp$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/19\.exp$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/aux-items-18\.conf$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
149
150
151
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/aux-items-35\.conf$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/aux-items-46\.conf$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/aux-items-bad\.conf$/d' \
152
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/aux-items\.leaks$/d' \
153
154
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/bug-1121\.data$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/bug-1121\.texts$/d' \
155
156
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/bug-52\.data$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/bug-52\.texts$/d' \
157
158
159
160
161
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/internal-connections-cov\.exp$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/isc-parse-cov\.exp$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/log-cov\.exp$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.0\/memory-cov\.exp$/d' \
		-e '/^\.\/src\/server\/testsuite\/lyskomd\.supp$/d' \
162
		-e '/^\.\/src\/server\/testsuite\/test-l2g$/d' \
163
		-e '/^\.\/src\/server\/testsuite\/test-select$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
164
		-e '/^\.\/src\/server\/testsuite\/test-sigjmp$/d' \
165
		-e '/^\.\/src\/server\/testsuite\/testfd$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
166
		-e '/^\.\/src\/server\/testsuite\/timeval-overflow$/d' \
167
		-e '/^\.\/src\/server\/testsuite\/usage\.all/d' \
168
		-e '/^\.\/src\/server\/testsuite\/valgrind\.wrap$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
169
		-e '/^\.\/src\/server\/timewrap\.h$/d' \
Per Cederqvist's avatar
Per Cederqvist committed
170
171
172
173
		-e '/^\.\/src\/server\/updateLysKOM$/d' \
		-e '/^\.\/src\/server\/version-info\.c$/d' \
		-e '/^\.\/src\/server\/version\.incl$/d' \
		-e '/^\.\/stamp-depend$/d' \
174
		-e '/^\.\/stamp-h$/d' \
175
		-e '/^\.\/stamp-h1$/d' \
176
		-e '/^\.\/stamp-h\.in/d' \
Per Cederqvist's avatar
Per Cederqvist committed
177
178
		-e '/~$/d' \
	| scripts/update-copyright