From fc1385dc7a6e788e5dcdb25169c77f93eb56b10a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 25 Jul 2024 18:18:13 +0200 Subject: Add a section for ‘Extra Coins’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/gen-ecoin | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/gen-ecoin') 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 -- cgit v1.2.3