summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-29 23:24:17 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-10-29 23:24:17 +0100
commitfe427d79968e26c4e4b9929282e6b38c613dd670 (patch)
treedd6dc288c5a41ac71bf4c2ef4a27184e78ed8828 /scripts
parent75f1e778d5f98a582c6bf9945e73727e0cf29075 (diff)
Add Brazilian olympic reais
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