summaryrefslogtreecommitdiffhomepage
path: root/scripts/gen-reais
blob: 53d03878105b70c974cf1ce842286ab130f5bd9a (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/$1.bra \
| scripts/last-of-design.sed