summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-olympic-reais19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/gen-olympic-reais b/scripts/gen-olympic-reais
new file mode 100755
index 0000000..3efd8b2
--- /dev/null
+++ b/scripts/gen-olympic-reais
@@ -0,0 +1,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