blob: 32d88c619dbe90df18c97fe615e8fe3b2c21a994 (
plain) (
blame)
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
|
#!/bin/sh
gawk '
@include "scripts/getcls.awk"
BEGIN {
FS = "\t"
}
$1 == "TN" {
i++
col[i][0] = $2
col[i][1] = $3
col[i][2] = $4
}
END {
for (i = 1; i <= length(col); i++) {
printf "trX {td .missing colspan=\"1\" {-€%s}"\
"td .%s colspan=\"6\" {-%s}}\n",
col[i][0], getcls(col[i][2]), col[i][1]
}
print "__MARKER__"
}
' data/notes \
| scripts/last-of-design.sed
|