repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/protocols - sync with NetBSD-8
[minix.git]
/
external
/
public-domain
/
tz
/
dist
/
checklinks.awk
blob
f57f736d5baffaf1ce7754239d90b215845e9d69
1
# Check links in tz tables.
2
3
# Contributed by Paul Eggert.
4
5
/
^Link
/ {
used
[
$
2
]
=
1
}
6
/
^Zone
/ {
defined
[
$
2
]
=
1
}
7
8
END
{
9
status =
0
10
11
for
(
tz in used
) {
12
if
(
!defined
[
tz
]) {
13
printf
"%s: Link to non-zone
\n
"
,
tz
14
status =
1
15
}
16
}
17
18
exit
status
19
}