summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-07-25 18:18:13 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-07-25 18:18:13 +0200
commitfc1385dc7a6e788e5dcdb25169c77f93eb56b10a (patch)
tree0773431c817cb4a59cf8cc50be3aed078f3b1f1b /scripts
parent62089fbe43316df72d850655db5166c2540243a4 (diff)
Add a section for ‘Extra Coins’
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-ecoin6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/gen-ecoin b/scripts/gen-ecoin
index 9d39205..18512b8 100755
--- a/scripts/gen-ecoin
+++ b/scripts/gen-ecoin
@@ -1,12 +1,14 @@
#!/bin/sh
gawk -v CC=$1 '
+@include "scripts/getcls.awk"
+
BEGIN {
FS = "\t"
CC = toupper(CC)
}
$1 == CC {
- printf "tr {td{-%s} td{-%s} td .have colspan=\"5\" {-%s}}", $2, $3, $4
+ printf "tr {td{-%s} td{-%s} td .%s colspan=\"5\" {-%s}}", $2, $3, getcls($4), $5
}
-' data/errors
+' data/extras