summaryrefslogtreecommitdiffhomepage
path: root/scripts/gen-olympic-reais
blob: 3efd8b2ad36c3a2dc2e6ddc1c58898f59c7d4ae5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

gawk '
@include "scripts/getcls.awk"

BEGIN {
	FS = "\t"
}

{
	printf "trX { td .missing {-%s} td .%s colspan=\"6\" {-%s} }\n",
		$1, getcls($2), $3
}

END {
	print "__MARKER__"
}
' data/world/olympic.bra \
| scripts/last-of-design.sed